mirror of
https://github.com/facebook/zstd.git
synced 2025-11-05 07:50: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.
1.2 KiB
1.2 KiB