Browse Source

Document ``use after free'' error message

OPENBSD_6_0
otto 8 years ago
parent
commit
ddedb031ae
1 changed files with 4 additions and 2 deletions
  1. +4
    -2
      src/lib/libc/stdlib/malloc.3

+ 4
- 2
src/lib/libc/stdlib/malloc.3 View File

@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" SUCH DAMAGE. .\" SUCH DAMAGE.
.\" .\"
.\" $OpenBSD: malloc.3,v 1.94 2016/03/12 21:31:22 mmcc Exp $
.\" $OpenBSD: malloc.3,v 1.95 2016/04/03 09:31:45 otto Exp $
.\" .\"
.Dd $Mdocdate: March 12 2016 $
.Dd $Mdocdate: April 3 2016 $
.Dt MALLOC 3 .Dt MALLOC 3
.Os .Os
.Sh NAME .Sh NAME
@ -368,6 +368,8 @@ or
an unallocated pointer was made. an unallocated pointer was made.
.It Dq chunk is already free .It Dq chunk is already free
There was an attempt to free a chunk that had already been freed. There was an attempt to free a chunk that had already been freed.
.It Dq use after free
A chunk has been modified after it was freed.
.It Dq modified chunk-pointer .It Dq modified chunk-pointer
The pointer passed to The pointer passed to
.Fn free , .Fn free ,


Loading…
Cancel
Save