]> granicus.if.org Git - php/commitdiff
MFH: Fixed bug #31797 (exif_read_data() uses too low nesting limit).
authorIlia Alshanetsky <iliaa@php.net>
Tue, 1 Feb 2005 23:28:31 +0000 (23:28 +0000)
committerIlia Alshanetsky <iliaa@php.net>
Tue, 1 Feb 2005 23:28:31 +0000 (23:28 +0000)
NEWS
ext/exif/exif.c

diff --git a/NEWS b/NEWS
index feab8f83c68d1f7bce4211cb4a6e10a41e17bf14..70b1171167e362190496bddaf7f127f729751b2e 100644 (file)
--- 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).
index ed47a9601ab468dad923a4d9d3aa9563aa532e06..280582db90dff746bd40ff0e7b3ac46b28681752 100644 (file)
@@ -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)