php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Return to Bug #66443
Patch Increase-MAX_IFD_NESTING_LEVEL revision 2014-06-15 09:06 UTC by ianbeckett dot 0405 at gmail dot com

Patch Increase-MAX_IFD_NESTING_LEVEL for EXIF related Bug #66443

Patch version 2014-06-15 09:06 UTC

Return to Bug #66443 | Download this patch
Patch Revisions:

Developer: ianbeckett.0405@gmail.com

diff -aur php-5.5.13/ext/exif/exif.c php-5.5.13.new/ext/exif/exif.c
--- php-5.5.13/ext/exif/exif.c	2014-05-28 10:06:28.000000000 +0100
+++ php-5.5.13.new/ext/exif/exif.c	2014-06-15 09:36:57.543180825 +0100
@@ -99,7 +99,7 @@
 
 #define EFREE_IF(ptr)	if (ptr) efree(ptr)
 
-#define MAX_IFD_NESTING_LEVEL 100
+#define MAX_IFD_NESTING_LEVEL 200
 
 /* {{{ arginfo */
 ZEND_BEGIN_ARG_INFO(arginfo_exif_tagname, 0)
 
PHP Copyright © 2001-2024 The PHP Group
All rights reserved.
Last updated: Thu Apr 25 23:01:29 2024 UTC