summaryrefslogtreecommitdiff
path: root/libexec/ld.so
diff options
context:
space:
mode:
authorOtto Moerbeek <otto@cvs.openbsd.org>2014-06-15 06:48:31 +0000
committerOtto Moerbeek <otto@cvs.openbsd.org>2014-06-15 06:48:31 +0000
commit9414fe675cfe37302372db83ec543472b9c8e8fb (patch)
tree61f7c9b69a6fa10b386135bfb9619fe88d145378 /libexec/ld.so
parente8c34568678367f1f4c08c5a3be366d06a5f7257 (diff)
move to a smaller rbytes buffer; ok miod@ deraadt@
Diffstat (limited to 'libexec/ld.so')
-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;
};