Skip to content

Commit 2d98f0c

Browse files
committed
Restore warning
1 parent 4f3eccf commit 2d98f0c

File tree

1 file changed

+1
-0
lines changed

1 file changed

+1
-0
lines changed

ext/exif/exif.c

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -3156,6 +3156,7 @@ static bool exif_process_IFD_in_MAKERNOTE(image_info_type *ImageInfo, char * val
31563156

31573157
if (value_len < 2 || maker_note->offset >= value_len - 1) {
31583158
/* Do not go past the value end */
3159+
exif_error_docref("exif_read_data#error_ifd" EXIFERR_CC, ImageInfo, E_WARNING, "IFD data too short: 0x%04X offset 0x%04X", value_len, maker_note->offset);
31593160
return true;
31603161
}
31613162

0 commit comments

Comments
 (0)