summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2016-04-03 09:31:45 +0000
committerotto <otto@openbsd.org>2016-04-03 09:31:45 +0000
commit1a2bc71a6136350de149990550c803882c27c5ad (patch)
treed2682615054cba5a8afb914a5f39e2fb7024803f /lib/libc/stdlib/malloc.3
parentdouble word; (diff)
downloadwireguard-openbsd-1a2bc71a6136350de149990550c803882c27c5ad.tar.xz
wireguard-openbsd-1a2bc71a6136350de149990550c803882c27c5ad.zip
Document ``use after free'' error message
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.36
1 files changed, 4 insertions, 2 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index c0be3a177d4..3ccd13cdd8e 100644
--- a/lib/libc/stdlib/malloc.3
+++ b/lib/libc/stdlib/malloc.3
@@ -30,9 +30,9 @@
.\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
.\" 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
.Os
.Sh NAME
@@ -368,6 +368,8 @@ or
an unallocated pointer was made.
.It Dq chunk is already free
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
The pointer passed to
.Fn free ,