From e1920a468d7c77b93bcda2b7cb9ab344e10855c0 Mon Sep 17 00:00:00 2001 From: seabeepea Date: Tue, 28 Jul 2020 19:17:13 -0700 Subject: [PATCH] move Header constructor inside try/catch (#4208) Signed-off-by: Cary Phillips --- projects/openexr/openexr_deepscanlines_fuzzer.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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;