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 Sep 22, 2023
2 parents b3fd854 + fc6e42e commit e5bc379
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 e5bc379

Please sign in to comment.