Commit Graph

3 Commits

Author SHA1 Message Date
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