diff options
-rw-r--r-- | ext/exif/exif.c | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/ext/exif/exif.c b/ext/exif/exif.c index 2804807e0b..e19ec7ff69 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -3267,11 +3267,6 @@ static int exif_process_IFD_TAG(image_info_type *ImageInfo, char *dir_entry, cha /*return TRUE;*/ } - if (components < 0) { - 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); - return FALSE; - } - byte_count_signed = (int64_t)components * php_tiff_bytes_per_format[format]; if (byte_count_signed < 0 || (byte_count_signed > INT32_MAX)) { |