Commit Graph

9 Commits

Author SHA1 Message Date
Sebastian Rasmussen 27240f86f5 [mupdf] Update to latest version of API provided by MuPDF. (#2362)
This reverts commit 7fa021dfbe
because the corresponding API was reverted in the upstream project.
2019-05-01 15:47:53 -04:00
Sebastian Rasmussen 7fa021dfbe [mupdf] Update to latest version of API provided by MuPDF. (#2294) 2019-04-05 12:16:43 -07:00
Sebastian Rasmussen 02c1436e9f [mupdf] Add custom allocator to avoid having fuzzer kill process (#1830) (#1832)
This fixes oss-fuzz #5679 and oss-fuzz #7803 for the mupdf project.
2018-09-24 23:38:08 -07:00
Sebastian Rasmussen ad33fea957 [mupdf] Plug memory leaks in fuzzer itself. (oss-fuzz #5497) (#1778)
If mupdf throws an exception (extremely likely in when fuzzing),
none of the resources such as the rendered pixmap, document or
stream were reclaimed before exiting causing memory leaks. These
leaks were blamed on the software itself, when it actually was
the fuzzer implementation that leaked.

Fix this by always cleaning up all resources.
2018-08-31 06:06:39 -07:00
Sebastian Rasmussen 837ad97be8 [mupdf] Adapt to recent API change, so test compiles again. (#1601) 2018-07-08 11:48:38 -07:00
Jonathan Rudenberg 61cec32e26 [mupdf] Ensure ctm variable is initialized (#1102) 2018-01-22 08:20:12 -08:00
Jonathan Rudenberg 3b6b482b52 [mupdf] Ensure document is always freed (#1094) 2018-01-19 11:05:50 -08:00
Jonathan Rudenberg 984d3b0d92 [mupdf] Fix fuzzer (#1091)
Without the document handlers registered, nothing gets fuzzed!
2018-01-19 13:11:16 +11:00
Jonathan Rudenberg afa38abb0c [mupdf] Add mupdf fuzzer (#1067)
* Add fuzzer for mupdf

* Address review comments

* Add check to ensure corpus/dict exist

* Silence stderr spam

* Update fuzzer based on review comments

* Enable MemorySanitizer

* Set primary contact
2018-01-18 07:45:09 -08:00