Commit Graph

3 Commits

Author SHA1 Message Date
Sebastian Rasmussen 302cf1550b
[jbig2dec] Limit allocations to 1Gbyte. (#3583)
Apparently the maximum memory usage is 2.5Gbyte so a limit of 3Gbyte
is to liberal. Set limit to 1Gbyte to make sure that any extra memory
used by the fuzzer is allowed. 1Gbyte ought to be enough for most real
world images decoded by jbig2dec.
2020-04-06 16:02:59 +10:00
Sebastian Rasmussen 8faac99098
[jbig2dec] Fixes for bugs in the custom allocator (#3409)
* [jbig2dec] Fix issues in library glue logic.

This addresses the out of memory condition exhibited in
project-jbig2dec bug #17168.

* [jbig2dec] Print peak memory usage.

This would be helpful when we're approaching OOM conditions.
2020-02-19 08:35:51 -08:00
Sebastian Rasmussen b70dfdbb22 [jbig2dec] Add jbig2dec fuzzer (#2815) (#2816) 2019-09-13 10:06:12 -07:00