summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorotto <>2016-10-14 17:33:36 +0000
committerotto <>2016-10-14 17:33:36 +0000
commitc870335aee6efe920863d15f06b388eaf6ad1f1a (patch)
tree7074d92e0786b6603cf73d578d6b2cb07af6498a
parentf630946338f9031d4355cb3e6854cefc69ca7193 (diff)
downloadopenbsd-c870335aee6efe920863d15f06b388eaf6ad1f1a.tar.gz
openbsd-c870335aee6efe920863d15f06b388eaf6ad1f1a.tar.bz2
openbsd-c870335aee6efe920863d15f06b388eaf6ad1f1a.zip
0xd0 -> 0xdb; ok deraadt@ millert@ tedu@
-rw-r--r--src/lib/libc/stdlib/malloc.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/libc/stdlib/malloc.c b/src/lib/libc/stdlib/malloc.c
index fe80af08c5..dc32420ffc 100644
--- a/src/lib/libc/stdlib/malloc.c
+++ b/src/lib/libc/stdlib/malloc.c
@@ -1,4 +1,4 @@
1/* $OpenBSD: malloc.c,v 1.200 2016/10/12 07:36:38 otto Exp $ */ 1/* $OpenBSD: malloc.c,v 1.201 2016/10/14 17:33:36 otto Exp $ */
2/* 2/*
3 * Copyright (c) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net> 3 * Copyright (c) 2008, 2010, 2011, 2016 Otto Moerbeek <otto@drijf.net>
4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org> 4 * Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -81,8 +81,8 @@
81 * when the 'J' option is enabled. Use SOME_JUNK right after alloc, 81 * when the 'J' option is enabled. Use SOME_JUNK right after alloc,
82 * and SOME_FREEJUNK right before free. 82 * and SOME_FREEJUNK right before free.
83 */ 83 */
84#define SOME_JUNK 0xd0 /* as in "Duh" :-) */ 84#define SOME_JUNK 0xdb /* deadbeef */
85#define SOME_FREEJUNK 0xdf 85#define SOME_FREEJUNK 0xdf /* dead, free */
86 86
87#define MMAP(sz) mmap(NULL, (sz), PROT_READ | PROT_WRITE, \ 87#define MMAP(sz) mmap(NULL, (sz), PROT_READ | PROT_WRITE, \
88 MAP_ANON | MAP_PRIVATE, -1, 0) 88 MAP_ANON | MAP_PRIVATE, -1, 0)