From: Stephan Bosch Date: Wed, 4 Sep 2019 23:13:46 +0000 (+0200) Subject: lib: test-istream-base64-decoder - Reduce minimum random stream buffer size to 1. X-Git-Tag: 2.3.9~183 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=2981f97fc57da28c63e9ac956effc411a879fc9a;p=thirdparty%2Fdovecot%2Fcore.git lib: test-istream-base64-decoder - Reduce minimum random stream buffer size to 1. --- diff --git a/src/lib/test-istream-base64-decoder.c b/src/lib/test-istream-base64-decoder.c index 2110669721..bb4e6b3b31 100644 --- a/src/lib/test-istream-base64-decoder.c +++ b/src/lib/test-istream-base64-decoder.c @@ -234,10 +234,10 @@ test_istream_base64_io_random(void) /* Assign random buffer sizes */ - i_stream_set_max_buffer_size(input5, i_rand_minmax(4, 512)); - i_stream_set_max_buffer_size(input4, i_rand_minmax(4, 512)); - i_stream_set_max_buffer_size(input3, i_rand_minmax(4, 512)); - i_stream_set_max_buffer_size(input2, i_rand_minmax(4, 512)); + i_stream_set_max_buffer_size(input5, i_rand_minmax(1, 512)); + i_stream_set_max_buffer_size(input4, i_rand_minmax(1, 512)); + i_stream_set_max_buffer_size(input3, i_rand_minmax(1, 512)); + i_stream_set_max_buffer_size(input2, i_rand_minmax(1, 512)); /* Read the outer stream in full with random increments. */ top_input = sinput4;