dovecot-1.1: buffer test failed if stack wasn't cleared by OS.
dovecot at dovecot.org
dovecot at dovecot.org
Thu May 15 09:54:08 EEST 2008
details: http://hg.dovecot.org/dovecot-1.1/rev/abb4d2011b52
changeset: 7522:abb4d2011b52
user: Timo Sirainen <tss at iki.fi>
date: Thu May 15 09:54:03 2008 +0300
description:
buffer test failed if stack wasn't cleared by OS.
diffstat:
1 file changed, 1 insertion(+)
src/tests/test-lib.c | 1 +
diffs (11 lines):
diff -r cb1c6c942768 -r abb4d2011b52 src/tests/test-lib.c
--- a/src/tests/test-lib.c Thu May 15 08:51:12 2008 +0300
+++ b/src/tests/test-lib.c Thu May 15 09:54:03 2008 +0300
@@ -144,6 +144,7 @@ static void test_buffer(void)
buf = buffer_create_dynamic(default_pool, 1);
for (i = 0; i < BUF_TEST_SIZE; i++)
testdata[i] = random();
+ memset(shadowbuf, 0, sizeof(shadowbuf));
srand(1);
shadowbuf_size = 0;
More information about the dovecot-cvs
mailing list