Commit Graph

19 Commits

Author SHA1 Message Date
Abhishek Arya 07160958df
Update project.yaml 2021-09-24 09:30:27 -07:00
Kimball Thurston 0e7c2ba9c7
Add new C library for subsequent fuzz testing (#6346)
Also cleans up old cmake configure options

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
2021-08-28 19:12:31 -07:00
Kimball Thurston c903d51b15
remove library after merge (#5405)
OpenEXR 3.0, and the main branch, has accepted a PR to merge libIexMath
into libIex, to lower dependencies. Remove it from the list of libraries
and further sort by dependency order

Signed-off-by: Kimball Thurston <kdt3rd@gmail.com>
2021-03-16 05:53:48 -07:00
Oliver Chang 84faf55729
Populate a bunch of main_repo values. (#4815)
Also enforce this for future integrations.
2020-12-10 09:49:27 +11:00
metamerism 6195bf380e
[OpenEXR] update for OpenEXR-3.0 build config (#4624)
* [OpenEXR] update for OpenEXR-3.0 build config

Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-11-09 19:02:22 -08:00
metamerism 488d1d35d9
[openexr] add support for intergrated exrcheck_fuzzer (#4514)
Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-10-09 10:09:47 -07:00
metamerism 99b3190481
[openexr] fix reading extra EXR channels in readMulti (#4461)
Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-09-21 07:32:04 -07:00
metamerism 862bfa9604
[openexr] speed up scanline reading, read all channels in readMulti (#4457)
* [openexr] speed up scanline reading, read all channels in readMulti

Signed-off-by: Peter Hillman <peter@pedro.kiwi>

* [openexr] rearrange channel order in readMulti

Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-09-17 18:31:01 -07:00
metamerism ac56d80070
[openexr] skip reading large images in exrenvmap (#4449)
Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-09-16 17:52:07 -07:00
metamerism c341052c92
[openexr] rewind streams between readSingle and readMulti (#4443)
Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-09-12 08:48:33 -07:00
metamerism c5772fa300
[openexr] fix memleak in readSingle with wide images (#4380)
Signed-off-by: Peter Hillman <peter@pedro.kiwi>
2020-08-26 14:23:41 -07:00
metamerism be6237a516
[openexr] fix memleak in scanlinefuzzer with wide images (#4356) 2020-08-23 23:13:33 -07:00
Ravi Jotwani 7ff3b68f7e
[openexr] Using different file utilities to write files to /tmp (#4218)
* using tidy_html5's fuzzer_temp_file utilities to create a file from fuzzing input in /tmp

* used FuzzerTemporaryFile class, updated copyright year

* catch all exceptions instead of a select few, fix styling in openexr_exrheader_fuzzer

* updating fuzzer_temp_file.h with the changes mentioned in https://github.com/google/oss-fuzz/pull/4236
2020-08-07 11:40:34 -07:00
seabeepea 9743eb4bf3
Catch all exceptions via (...) rather than by explicit type (#4260)
The purpose of the fuzzer is to very that an exception is thrown, not
to validate that the correct *type* of exception is thrown. That is
the responsibility of the project's traditional test suite. Therefore,
the exception type is inconsequential.

Signed-off-by: Cary Phillips <seabeepea@gmail.com>
2020-08-06 06:10:51 -07:00
Ravi Jotwani b78b8222ba
[openexr] Additional fuzzers (#4173)
* added two fuzzers from patch files, stripped unnecessary code from exrenvmap_fuzzer, build currently failing

* exrheader build working

* checking coverage for exrheader_fuzzer

* removed writes to cout for exrheader_fuzzer

* exrheader_fuzzer and exrenvmap_fuzzer working

* added license to exrheader_fuzzer

* remove namespaceAlias.h

* changed function names in exrheader_fuzzer, wrote files to /tmp in exrenvmap_fuzzer, included style fixes
2020-07-29 11:33:53 -07:00
seabeepea e1920a468d
move Header constructor inside try/catch (#4208)
Signed-off-by: Cary Phillips <seabeepea@gmail.com>
2020-07-28 19:17:13 -07:00
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
Abhishek Arya c2ad696b86
Add security@openexr.org as per Cary's request 2020-07-14 10:51:31 -07:00
Michael Jezierny c8279e2c2d
[openexr] Initial integration of OpenEXR fuzzers. (#4060)
* Add a working skeleton for OpenEXR fuzzers.

* added openexr fuzzers, updated build script to include them

* cleaned up bash loop

* 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.

* Correct the contact addresses for OpenEXR.

Co-authored-by: Ravi Jotwani <rjotwani@google.com>
2020-07-07 14:28:37 -07:00