Add cSize regression test to fuzzer.c

This commit is contained in:
senhuang42
2020-10-07 13:56:25 -04:00
parent c87d2e5866
commit b8bfc4e63d
4 changed files with 44 additions and 1 deletions
+2
View File
@@ -575,6 +575,8 @@ size_t ZSTD_ldm_blockCompress(rawSeqStore_t* rawSeqStore,
BYTE const* const iend = istart + srcSize;
/* Input positions */
BYTE const* ip = istart;
/* If using opt parser, use LDMs only as candidates rather than always accepting them */
if (cParams->strategy >= ZSTD_btopt) {
size_t lastLLSize;
ms->ldmSeqStore = *rawSeqStore;