diff options
author | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-09 14:58:17 +0200 |
---|---|---|
committer | Nikita Popov <nikita.ppv@gmail.com> | 2019-10-09 14:58:17 +0200 |
commit | cb657440b4ca81a79deaf74d694d0230db397966 (patch) | |
tree | 06607451807eb2d1559a40668674936766edadb5 /ext/exif | |
parent | 73e9acbaff0f4bcdc3ff99fb54504af2e23fec42 (diff) | |
parent | a4d7f4c3e17431d6229a15d4218d1c91eb69ed6c (diff) | |
download | php-git-cb657440b4ca81a79deaf74d694d0230db397966.tar.gz |
Merge branch 'PHP-7.4'
Diffstat (limited to 'ext/exif')
-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 dca6021232..86667de1bf 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -3182,11 +3182,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)) { |