summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotto <>2016-04-03 09:31:45 +0000
committerotto <>2016-04-03 09:31:45 +0000
commit7ac0648f23d0b4b0e420f136b8adcfe7078edc26 (patch)
tree287b95841c95891c35b77c63d97d018fcf29a7de
parent7c7abd4b1c73f1ce287c615686f98d4ce72cebad (diff)
downloadopenbsd-7ac0648f23d0b4b0e420f136b8adcfe7078edc26.tar.gz
openbsd-7ac0648f23d0b4b0e420f136b8adcfe7078edc26.tar.bz2
openbsd-7ac0648f23d0b4b0e420f136b8adcfe7078edc26.zip
Document ``use after free'' error message
-rw-r--r--src/lib/libc/stdlib/malloc.36
1 files changed, 4 insertions, 2 deletions
diff --git a/src/lib/libc/stdlib/malloc.3 b/src/lib/libc/stdlib/malloc.3
index c0be3a177d..3ccd13cdd8 100644
--- a/src/lib/libc/stdlib/malloc.3
+++ b/src/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF 30.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
31.\" SUCH DAMAGE. 31.\" SUCH DAMAGE.
32.\" 32.\"
33.\" $OpenBSD: malloc.3,v 1.94 2016/03/12 21:31:22 mmcc Exp $ 33.\" $OpenBSD: malloc.3,v 1.95 2016/04/03 09:31:45 otto Exp $
34.\" 34.\"
35.Dd $Mdocdate: March 12 2016 $ 35.Dd $Mdocdate: April 3 2016 $
36.Dt MALLOC 3 36.Dt MALLOC 3
37.Os 37.Os
38.Sh NAME 38.Sh NAME
@@ -368,6 +368,8 @@ or
368an unallocated pointer was made. 368an unallocated pointer was made.
369.It Dq chunk is already free 369.It Dq chunk is already free
370There was an attempt to free a chunk that had already been freed. 370There was an attempt to free a chunk that had already been freed.
371.It Dq use after free
372A chunk has been modified after it was freed.
371.It Dq modified chunk-pointer 373.It Dq modified chunk-pointer
372The pointer passed to 374The pointer passed to
373.Fn free , 375.Fn free ,