mirror of
https://github.com/haraldk/TwelveMonkeys.git
synced 2025-08-05 04:25:29 -04:00
#291 Added leniency for TIFF structures with pointers to data beyond EOF.
This commit is contained in:
parent
e71a4884e3
commit
b12084c14c
@ -287,6 +287,7 @@ public final class EXIFReader extends MetadataReader {
|
|||||||
return readValue(pInput, pType, pCount);
|
return readValue(pInput, pType, pCount);
|
||||||
}
|
}
|
||||||
catch (EOFException e) {
|
catch (EOFException e) {
|
||||||
|
// TODO: Add warning listener API and report problem to client code
|
||||||
return e;
|
return e;
|
||||||
}
|
}
|
||||||
finally {
|
finally {
|
||||||
|
Loading…
x
Reference in New Issue
Block a user