oss-fuzz/projects/openexr
Ravi Jotwani 96c3d4f440
[openexr] Replace buf_to_file with IStream (#4094)
* Add a working skeleton for OpenEXR fuzzers.

* added openexr fuzzers, updated build script to include them

* cleaned up bash loop

* [openexr] Replace buf_to_file with StdISStream.

Version 2.5.0 of OpenEXR added a StdISStream class that turns
a std::string into an Imf::IStream, which can be used instead of
filenames when opening an OpenEXR image.  This commit adds code which
wraps the fuzzer input into a StdISStream, which enables us to remove
the hacky buf_to_file function.

* updated deepscanlines_fuzzer to use IStream instead of filenames

* replace "/work" with  in build.sh

* Reformat CMake settings, and also prevent building utils and examples.

* Reformat and change names in build.sh.

* Omit the version prefix when building OpenEXR and IlmBase libraries.

* updated final two fuzzers to use istream

* fixed additional conflict in project.yaml

* get header size from input

* increased header size

* Fix argument types in readFileSingle

Co-authored-by: Michael Jezierny <mtjz@google.com>
Co-authored-by: Abhishek Arya <inferno@chromium.org>
2020-07-14 14:01:37 -07:00
..
Dockerfile
build.sh
openexr_deepscanlines_fuzzer.cc [openexr] Replace buf_to_file with IStream (#4094) 2020-07-14 14:01:37 -07:00
openexr_deeptiles_fuzzer.cc [openexr] Replace buf_to_file with IStream (#4094) 2020-07-14 14:01:37 -07:00
openexr_scanlines_fuzzer.cc [openexr] Replace buf_to_file with IStream (#4094) 2020-07-14 14:01:37 -07:00
openexr_tiles_fuzzer.cc [openexr] Replace buf_to_file with IStream (#4094) 2020-07-14 14:01:37 -07:00
project.yaml Add security@openexr.org as per Cary's request 2020-07-14 10:51:31 -07:00