Lines Matching refs:tooSmallSize
1453 const size_t tooSmallSize = cSize - missing; in fuzzerTests() local
1455 memcpy(dstBuffer+tooSmallSize, &endMark, 4); in fuzzerTests()
1456 …{ size_t const errorCode = ZSTD_compressCCtx(ctx, dstBuffer, tooSmallSize, sampleBuffer, sampleSiz… in fuzzerTests()
1457 …_compressCCtx should have failed ! (buffer too small : %u < %u)", (U32)tooSmallSize, (U32)cSize); } in fuzzerTests()
1458 { U32 endCheck; memcpy(&endCheck, dstBuffer+tooSmallSize, 4); in fuzzerTests()
1487 size_t const tooSmallSize = cSize - missing; in fuzzerTests() local
1488 void* cBufferTooSmall = malloc(tooSmallSize); /* valgrind will catch read overflows */ in fuzzerTests()
1490 memcpy(cBufferTooSmall, cBuffer, tooSmallSize); in fuzzerTests()
1491 … size_t const errorCode = ZSTD_decompress(dstBuffer, dstBufferSize, cBufferTooSmall, tooSmallSize); in fuzzerTests()
1500 size_t const tooSmallSize = sampleSize - missing; in fuzzerTests() local
1502 dstBuffer[tooSmallSize] = token; in fuzzerTests()
1503 { size_t const errorCode = ZSTD_decompress(dstBuffer, tooSmallSize, cBuffer, cSize); in fuzzerTests()
1504 …ompress should have failed : %u > %u (dst buffer too small)", (U32)errorCode, (U32)tooSmallSize); } in fuzzerTests()
1505 CHECK(dstBuffer[tooSmallSize] != token, "ZSTD_decompress : dst buffer overflow"); in fuzzerTests()