#291 Added leniency for TIFF structures with pointers to data beyond EOF.

This commit is contained in:
Harald Kuhr 2016-11-16 19:14:11 +01:00
parent e0b9bdef7e
commit e71a4884e3

View File

@ -286,6 +286,9 @@ public final class EXIFReader extends MetadataReader {
pInput.seek(pOffset); pInput.seek(pOffset);
return readValue(pInput, pType, pCount); return readValue(pInput, pType, pCount);
} }
catch (EOFException e) {
return e;
}
finally { finally {
pInput.seek(pos); pInput.seek(pos);
} }