diff options
author | seabeepea <cbpilm@gmail.com> | 2020-07-28 19:17:13 -0700 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-07-28 19:17:13 -0700 |
commit | e1920a468d7c77b93bcda2b7cb9ab344e10855c0 (patch) | |
tree | 13a6bb7cace9720a05c3fb90ea7116244bef271b /projects/openexr | |
parent | 3c234c8f1c2319f27a328656c84c7eaf7767a561 (diff) |
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.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/projects/openexr/openexr_deepscanlines_fuzzer.cc b/projects/openexr/openexr_deepscanlines_fuzzer.cc index ff77d8e4..93ef29b7 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; |