summaryrefslogtreecommitdiffstats
path: root/lib/libc/stdlib/malloc.3
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2016-10-20 05:49:59 +0000
committerotto <otto@openbsd.org>2016-10-20 05:49:59 +0000
commit91c841939e7ae247e6fa2274320df7b3a042b02c (patch)
tree25eb47770bea4198ae0194de6cc925eb390a56dd /lib/libc/stdlib/malloc.3
parentMove initialization of the helper process in its own routine to make (diff)
downloadwireguard-openbsd-91c841939e7ae247e6fa2274320df7b3a042b02c.tar.xz
wireguard-openbsd-91c841939e7ae247e6fa2274320df7b3a042b02c.zip
canary corruption message changed a bit
Diffstat (limited to 'lib/libc/stdlib/malloc.3')
-rw-r--r--lib/libc/stdlib/malloc.310
1 files changed, 5 insertions, 5 deletions
diff --git a/lib/libc/stdlib/malloc.3 b/lib/libc/stdlib/malloc.3
index 701bb5484a0..97014187b8f 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.98 2016/10/08 12:56:18 otto Exp $
+.\" $OpenBSD: malloc.3,v 1.99 2016/10/20 05:49:59 otto Exp $
.\"
-.Dd $Mdocdate: October 8 2016 $
+.Dd $Mdocdate: October 20 2016 $
.Dt MALLOC 3
.Os
.Sh NAME
@@ -377,11 +377,11 @@ The pointer passed to
or
.Fn reallocarray
has been modified.
-.It Dq chunk canary corrupted 0xhhhhllll
+.It Dq chunk canary corrupted address offset@length
A byte after the requested size has been overwritten,
indicating a heap overflow.
-The high word is the requested length of the chunk;
-the low word is the offset at which corruption was detected.
+The offset at which corruption was detected is printed before the @,
+the requested length of the allocation after the @.
.It Dq recursive call
An attempt was made to call recursively into these functions, i.e., from a
signal handler.