Commit Graph

5 Commits

Author SHA1 Message Date
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
jonathanmetzman 3049c50d48
Migrate projects using -lFuzzingEngine to $LIB_FUZZING_ENGINE (#2325)
Migrate from -lFuzzingEngine to $LIB_FUZZING_ENGINE where possible and not causing breakage
2019-05-01 11:09:55 -04:00
Bhargava Shastry 830189c3c7 lzo: Fixes problems with google/oss-fuzz#1900 (#1905) 2018-10-25 07:07:38 -07:00
Abhishek Arya cf78fed63d
Revert "[lzo] Add lzo (#1862)" (#1900)
This reverts commit 754db9eb6c.
2018-10-23 14:24:54 -07:00
Bhargava Shastry 754db9eb6c [lzo] Add lzo (#1862)
* lzo: Add lzo out-of-source

* lzo: Change maintainer of Docker image

* lzo: Add decompress target

* lzo: Update build script

* lzo: Fix build script

* lzo: Bail out if size==0 in decompress test

* Adding a seed file to lzo_decompress_target_seed

This commit adds a minimal lzo seed as a seed for the lzo_decompress_target. Still results in a heap-buffer-overflow at the moment.

* lzo: Switch to safer decompressor (HT @viniul) that does not crash and remove assertion

* lzo: Remove buggy addition (from OvS) to this PR

* Add more decompression targets to decompress_target

This commit adds more decompression targets to decompress_target.c. The target function is chosen based on the first byte of the data given by libfuzzer.

* Make decomp func ptr static, fix minor bug in func ptr init, and fix include paths in build script
2018-10-23 07:22:41 -07:00