Commit Graph

3 Commits

Author SHA1 Message Date
Thomas Orgis 356f2b9476 mpg123: limit fuzzer runtime (#2832)
* mpg123: limit runtime of decode_fuzzer

To avoid spurious timeout reports, the test shall end after 10000 MPEG frames
or 1 MiB of data, which should both be reasonable numbers. The timeout
report motivating this had 500K with 140k bad frames. The limit of
10000 frames corresponds to a normal radio song as MP3 stream.

* mpg123: limit runtime of read_fuzzer

This applies the same logic as the decode fuzzer: stop decoding after
10000 MPEG frames or 1 MiB of input data. We could debate a bigger
limit on the data size, but we do want compact testcases, right?
2019-09-16 07:06:25 -07:00
Thomas Orgis 0a100f4c1c [mpg123] silence library error messages (#2642)
* mpg123/read_fuzzer: disable error messages from libmpg123

This shall remove any error messages libmpg123 prints out during fuzzing,
leaving only the crash trace at the inevitable end.
2019-07-31 12:57:00 -07:00
Markus Kusano 135eb87731 [mpg123] Integrate project along with a fuzz target. (#2032)
* Integrate mpg123 along with a fuzz target.
2018-12-18 11:04:32 -08:00