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.8~90 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=b7e1b34d1d8df1a931cfe6bbce0d07fe6c5bbd12;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;