diff options
author | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-21 07:52:32 -0700 |
---|---|---|
committer | Adam Ierymenko <adam.ierymenko@gmail.com> | 2016-06-21 07:52:32 -0700 |
commit | ca82715bfa49cb55a1827b11032120904e1b4501 (patch) | |
tree | a9e2f82d320ed0126ec98ec653d2f39b99f0d8cb | |
parent | 0c05b2cb50330a3b5c97c765db62e961e3c2408f (diff) | |
download | infinitytier-ca82715bfa49cb55a1827b11032120904e1b4501.tar.gz infinitytier-ca82715bfa49cb55a1827b11032120904e1b4501.zip |
Another fuzzing code fix.
-rw-r--r-- | selftest.cpp | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/selftest.cpp b/selftest.cpp index f712afd3..401d2595 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)); } |