Commit Graph

2 Commits

Author SHA1 Message Date
Sami Boukortt 7579d5d84f
lzo: unpoison the working buffer (#7941)
The compression function appears to account for the possibility that the
buffer contains random values, but msan does not realize that.

Initializing the buffer would be another option, but mere unpoisoning
maintains the ability to detect flaws in the way that the library
handles such uninitialized buffers. (Although, arguably, perhaps this
would be better served by separate fuzzing, which would also make such
findings more reproducible.)

This fixes b/154387018.
2022-07-05 15:07:32 +10:00
Stefan Bucur 20360201ad Implement a fuzz target for all the compression algorithms in LZO. The fuzzer dynamically switches between algorithms using the FuzzedDataProvider adapter. (#2966) 2019-10-21 11:21:56 -07:00