From ca82715bfa49cb55a1827b11032120904e1b4501 Mon Sep 17 00:00:00 2001 From: Adam Ierymenko Date: Tue, 21 Jun 2016 07:52:32 -0700 Subject: [PATCH] Another fuzzing code fix. --- selftest.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/selftest.cpp b/selftest.cpp index f712afd30..401d2595b 100644 --- a/selftest.cpp +++ b/selftest.cpp @@ -817,6 +817,7 @@ static int testOther() char tmp[128]; for(unsigned int x=0;x<128;++x) tmp[x] = (char)(rand() & 0xff); + tmp[127] = (char)0; char value[8194]; *bar += test.get(tmp,value,sizeof(value)); }