summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorotto <otto@openbsd.org>2014-06-15 06:48:30 +0000
committerotto <otto@openbsd.org>2014-06-15 06:48:30 +0000
commit422f06d5f72f6bcf9f948dc252eb24d0f587cc09 (patch)
tree33e3cb8f8d6dd609dabac963b12d57a2e77a84c3
parentoops, typo. James Hartley is fast at trying -current (diff)
downloadwireguard-openbsd-422f06d5f72f6bcf9f948dc252eb24d0f587cc09.tar.xz
wireguard-openbsd-422f06d5f72f6bcf9f948dc252eb24d0f587cc09.zip
move to a smaller rbytes buffer; ok miod@ deraadt@
-rw-r--r--libexec/ld.so/malloc.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libexec/ld.so/malloc.c b/libexec/ld.so/malloc.c
index f2c4fde64f8..92a378ab4ed 100644
--- a/libexec/ld.so/malloc.c
+++ b/libexec/ld.so/malloc.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: malloc.c,v 1.1 2014/06/05 08:39:07 otto Exp $ */
+/* $OpenBSD: malloc.c,v 1.2 2014/06/15 06:48:30 otto Exp $ */
/*
* Copyright (c) 2008, 2010, 2011 Otto Moerbeek <otto@drijf.net>
* Copyright (c) 2012 Matthew Dempsky <matthew@openbsd.org>
@@ -102,7 +102,7 @@ struct dir_info {
/* delayed free chunk slots */
void *delayed_chunks[MALLOC_DELAYED_CHUNK_MASK + 1];
size_t rbytesused; /* random bytes used */
- u_char rbytes[512]; /* random bytes */
+ u_char rbytes[256]; /* random bytes */
u_short chunk_start;
u_int32_t canary2;
};