aboutsummaryrefslogtreecommitdiff
path: root/projects/openexr
diff options
context:
space:
mode:
authorseabeepea <cbpilm@gmail.com>2020-07-28 19:17:13 -0700
committerGitHub <noreply@github.com>2020-07-28 19:17:13 -0700
commite1920a468d7c77b93bcda2b7cb9ab344e10855c0 (patch)
tree13a6bb7cace9720a05c3fb90ea7116244bef271b /projects/openexr
parent3c234c8f1c2319f27a328656c84c7eaf7767a561 (diff)
downloadoss-fuzz-e1920a468d7c77b93bcda2b7cb9ab344e10855c0.tar.gz
move Header constructor inside try/catch (#4208)
Signed-off-by: Cary Phillips <seabeepea@gmail.com>
Diffstat (limited to 'projects/openexr')
-rw-r--r--projects/openexr/openexr_deepscanlines_fuzzer.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/openexr/openexr_deepscanlines_fuzzer.cc b/projects/openexr/openexr_deepscanlines_fuzzer.cc
index ff77d8e45..93ef29b76 100644
--- a/projects/openexr/openexr_deepscanlines_fuzzer.cc
+++ b/projects/openexr/openexr_deepscanlines_fuzzer.cc
@@ -113,8 +113,8 @@ static void readFile(T *inpart) {
static void readFileSingle(IStream& is, uint64_t width, uint64_t height) {
DeepScanLineInputFile *file = NULL;
- Header header(width, height);
try {
+ Header header(width, height);
file = new DeepScanLineInputFile(header, &is, EXR_VERSION, 0);
} catch (...) {
return;