Skip to content

Commit

Permalink
merge master -Dorg -Ssuccess-only: PR 4099 (TIFF: check IFD entry off…
Browse files Browse the repository at this point in the history
…set before seeking)
  • Loading branch information
snoopycrimecop committed Oct 2, 2023
2 parents ac96795 + fc6e42e commit 99b0e59
Showing 1 changed file with 3 additions and 0 deletions.
3 changes: 3 additions & 0 deletions components/formats-bsd/src/loci/formats/tiff/TiffParser.java
Original file line number Diff line number Diff line change
Expand Up @@ -546,6 +546,9 @@ public Object getIFDValue(TiffIFDEntry entry) throws IOException {
offset &= 0xffffffffL;
offset += 0x100000000L;
}
if (offset >= in.length()) {
return null;
}
in.seek(offset);
}

Expand Down

0 comments on commit 99b0e59

Please sign in to comment.