Skip to content

Commit cbf589b

Browse files
committed
Merge branch 'PHP-7.2' into PHP-7.3
2 parents 736af5f + d6ca174 commit cbf589b

File tree

1 file changed

+0
-5
lines changed

1 file changed

+0
-5
lines changed

ext/exif/exif.c

Lines changed: 0 additions & 5 deletions
Original file line numberDiff line numberDiff line change
@@ -3267,11 +3267,6 @@ static int exif_process_IFD_TAG(image_info_type *ImageInfo, char *dir_entry, cha
32673267
/*return TRUE;*/
32683268
}
32693269

3270-
if (components < 0) {
3271-
exif_error_docref("exif_read_data#error_ifd" EXIFERR_CC, ImageInfo, E_WARNING, "Process tag(x%04X=%s): Illegal components(%d)", tag, exif_get_tagname(tag, tagname, -12, tag_table), components);
3272-
return FALSE;
3273-
}
3274-
32753270
byte_count_signed = (int64_t)components * php_tiff_bytes_per_format[format];
32763271

32773272
if (byte_count_signed < 0 || (byte_count_signed > INT32_MAX)) {

0 commit comments

Comments
 (0)