mirror of https://github.com/google/oss-fuzz.git
move Header constructor inside try/catch (#4208)
Signed-off-by: Cary Phillips <seabeepea@gmail.com>
This commit is contained in:
parent
3c234c8f1c
commit
e1920a468d
|
@ -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;
|
||||
|
|
Loading…
Reference in New Issue