mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-04 20:15:28 -04:00
#291 Added leniency for TIFF structures with pointers to data beyond EOF.
This commit is contained in:
parent
e0b9bdef7e
commit
e71a4884e3
@ -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);
|
||||||
}
|
}
|
||||||
|
Loading…
x
Reference in New Issue
Block a user