Searched refs:tooSmallSize (Results 1 – 1 of 1) sorted by relevance
| /freebsd-12.1/sys/contrib/zstd/tests/ |
| H A D | fuzzer.c | 1453 const size_t tooSmallSize = cSize - missing; in fuzzerTests() local 1455 memcpy(dstBuffer+tooSmallSize, &endMark, 4); 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() [all …]
|