mirror of
https://github.com/facebook/zstd.git
synced 2025-11-06 19:09:38 +03:00
The FUZZ_malloc_rand() function was incorrectly always returning NULL for zero-size allocations. The random offset generated by FUZZ_dataProducer_int32Range() was not being added to the pointer variable, causing the function to always return (void *)0.
2.3 KiB
2.3 KiB