Skip to content

Commit

Permalink
haraldk#291 Added leniency for TIFF structures with pointers to data …
Browse files Browse the repository at this point in the history
…beyond EOF.
  • Loading branch information
haraldk committed Nov 16, 2016
1 parent e0b9bde commit e71a488
Showing 1 changed file with 3 additions and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -286,6 +286,9 @@ private Object readValueAt(final ImageInputStream pInput, final long pOffset, fi
pInput.seek(pOffset);
return readValue(pInput, pType, pCount);
}
catch (EOFException e) {
return e;
}
finally {
pInput.seek(pos);
}
Expand Down

0 comments on commit e71a488

Please sign in to comment.