dovecot-2.2: lib: test-buffer was randomly crashing with SIGFPE
dovecot at dovecot.org
dovecot at dovecot.org
Mon Oct 20 23:49:16 UTC 2014
details: http://hg.dovecot.org/dovecot-2.2/rev/a9503b723f8c
changeset: 17973:a9503b723f8c
user: Timo Sirainen <tss at iki.fi>
date: Tue Oct 21 02:48:20 2014 +0300
description:
lib: test-buffer was randomly crashing with SIGFPE
diffstat:
src/lib/test-buffer.c | 2 +-
1 files changed, 1 insertions(+), 1 deletions(-)
diffs (12 lines):
diff -r 3a1d89b45c12 -r a9503b723f8c src/lib/test-buffer.c
--- a/src/lib/test-buffer.c Mon Oct 20 08:54:27 2014 -0700
+++ b/src/lib/test-buffer.c Tue Oct 21 02:48:20 2014 +0300
@@ -97,7 +97,7 @@
}
break;
case 4:
- if (shadowbuf_size == 0)
+ if (shadowbuf_size <= 1)
break;
pos = rand() % (shadowbuf_size-1); /* dest */
pos2 = rand() % (shadowbuf_size-1); /* source */
More information about the dovecot-cvs
mailing list