summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2016-10-08 12:56:18 +0000
committerotto <otto@openbsd.org>2016-10-08 12:56:18 +0000
commit39a0b293065e0a4f74e6178f21e81c2cc388b649 (patch)
tree9847a3d999298bc92ab98abac71b395d39fc9114 /lib/libc/stdlib/malloc.3
parentMake sxidog(4) set cpuresetfn, and cut some dead wood from the platform code. (diff)
downloadwireguard-openbsd-39a0b293065e0a4f74e6178f21e81c2cc388b649.tar.xz
wireguard-openbsd-39a0b293065e0a4f74e6178f21e81c2cc388b649.zip
make clear the length printed is the requested length
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.36
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 7420a9c2076..701bb5484a0 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.97 2016/10/07 14:43:13 jmc Exp $
+.\" $OpenBSD: malloc.3,v 1.98 2016/10/08 12:56:18 otto Exp $
.\"
-.Dd $Mdocdate: October 7 2016 $
+.Dd $Mdocdate: October 8 2016 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -380,7 +380,7 @@ has been modified.
.It Dq chunk canary corrupted 0xhhhhllll
A byte after the requested size has been overwritten,
indicating a heap overflow.
-The high word is the length of the chunk;
+The high word is the requested length of the chunk;
the low word is the offset at which corruption was detected.
.It Dq recursive call
An attempt was made to call recursively into these functions, i.e., from a