Fridrich Strba 2017-03-29 10:58:53 +00:00 committed by Git OBS Bridge
parent a46aa57364
commit c29ea0dd7e

View File

@ -6,6 +6,6 @@
if(TIFFGetField(input, TIFFTAG_JPEGTABLES, &count, &jpt) != 0) {
- if (count >= 4) {
+ if (count > 4) {
int retTIFFReadRawTile;
/* Ignore EOI marker of JpegTables */
_TIFFmemcpy(buffer, jpt, count - 2);
bufferoffset += count - 2;