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

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)