From: Ilia Alshanetsky Date: Tue, 1 Feb 2005 23:28:31 +0000 (+0000) Subject: MFH: Fixed bug #31797 (exif_read_data() uses too low nesting limit). X-Git-Tag: php-5.0.4RC1~215 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=322d1e54397b9a6ce028faa32a0bfc042771ef22;p=php MFH: Fixed bug #31797 (exif_read_data() uses too low nesting limit). --- diff --git a/NEWS b/NEWS index feab8f83c6..70b1171167 100644 --- a/NEWS +++ b/NEWS @@ -15,6 +15,7 @@ PHP NEWS is passed. (Tony) - Fixed posix_getsid() & posix_getpgid() to return sid & pgid instead of true. (Tony) +- Fixed bug #31797 (exif_read_data() uses too low nesting limit). (Ilia) - Fixed bug #31732 (mb_get_info() causes segfault when no parameters specified). (Tony) - Fixed bug #31710 (Wrong return values for mysqli_autocommit/commit/rollback). diff --git a/ext/exif/exif.c b/ext/exif/exif.c index ed47a9601a..280582db90 100644 --- a/ext/exif/exif.c +++ b/ext/exif/exif.c @@ -93,7 +93,7 @@ typedef unsigned char uchar; #define EFREE_IF(ptr) if (ptr) efree(ptr) -#define MAX_IFD_NESTING_LEVEL 5 +#define MAX_IFD_NESTING_LEVEL 25 static ZEND_BEGIN_ARG_INFO(exif_thumbnail_force_ref, 1)