mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2026-05-27 00:00:02 -04:00
#291 Added leniency for TIFF structures with pointers to data beyond EOF.
This commit is contained in:
+3
@@ -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