mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-10-04 11:26:44 -04:00
#291 Added leniency for TIFF structures with pointers to data beyond EOF.
This commit is contained in:
@@ -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);
|
||||||
}
|
}
|
||||||
|
Reference in New Issue
Block a user