Commit Graph

13 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
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
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
Sebastian Rasmussen 673c8f9646 [mupdf] Change the name of the library used. (#1409)
The library name in the upstream project has
changed recently, accommodate for that.
2018-05-10 09:43:10 -07:00
Jonathan Rudenberg 61cec32e26 [mupdf] Ensure ctm variable is initialized (#1102) 2018-01-22 08:20:12 -08:00
Jonathan Rudenberg df50061797 [mupdf] Add @sebras to auto_ccs (#1100) 2018-01-21 10:16:13 -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
Abhishek Arya daa994ebe1
Disable failing ubsan config in mupdf (#1085) 2018-01-18 08:39:29 -08: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