This causes issues when using a custom allocator that doesn't actually free() memory.
- Use a custom allocator
- Use the allocator for compression
- Compression poisons part of the memory
- Free that memory
- Re-use that custom allocator for decompression
- Decompression will run into use-after-poison issues
Workaround: define ZSTD_ASAN_DONT_POISON_WORKSPACE
This causes issues when using a custom allocator that doesn't actually
free()memory.Workaround: define
ZSTD_ASAN_DONT_POISON_WORKSPACE