aboutsummaryrefslogtreecommitdiffstats
path: root/tests
diff options
context:
space:
mode:
Diffstat (limited to 'tests')
-rw-r--r--tests/fuzztest/fuzzstub.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/fuzztest/fuzzstub.c b/tests/fuzztest/fuzzstub.c
index ce14b9ba..ec9e2afe 100644
--- a/tests/fuzztest/fuzzstub.c
+++ b/tests/fuzztest/fuzzstub.c
@@ -165,7 +165,7 @@ static void run_iteration()
size_t msglen;
bool status;
- msglen = fread(buffer, BUFSIZE, 1, stdin);
+ msglen = fread(buffer, 1, BUFSIZE, stdin);
status = do_static_decode(buffer, msglen, false);