dovecot-2.0-sslstream: test-istream-concat: Don't use uninitiali...

dovecot at dovecot.org dovecot at dovecot.org
Sat Feb 13 02:55:46 EET 2010


details:   http://hg.dovecot.org/dovecot-2.0-sslstream/rev/86110f830311
changeset: 10207:86110f830311
user:      Timo Sirainen <tss at iki.fi>
date:      Tue Oct 27 13:49:17 2009 -0400
description:
test-istream-concat: Don't use uninitialized variable.

diffstat:

1 file changed, 1 insertion(+), 1 deletion(-)
src/lib/test-istream-concat.c |    2 +-

diffs (12 lines):

diff -r 13b3a3ce892c -r 86110f830311 src/lib/test-istream-concat.c
--- a/src/lib/test-istream-concat.c	Tue Oct 27 13:10:54 2009 -0400
+++ b/src/lib/test-istream-concat.c	Tue Oct 27 13:49:17 2009 -0400
@@ -50,7 +50,7 @@ static void test_istream_concat_random(v
 	struct istream **streams, *input;
 	const unsigned char *data;
 	unsigned char *w_data;
-	size_t size;
+	size_t size = 0;
 	unsigned int i, j, offset, stream_count, data_len;
 
 	srand(1234);


More information about the dovecot-cvs mailing list