iliaa           Wed Jun  1 18:28:03 2005 EDT

  Modified files:              
    /php-src/ext/standard       image.c 
  Log:
  Fixed bug #33210 (relax jpeg recursive loop protection).
  
  
http://cvs.php.net/diff.php/php-src/ext/standard/image.c?r1=1.112&r2=1.113&ty=u
Index: php-src/ext/standard/image.c
diff -u php-src/ext/standard/image.c:1.112 php-src/ext/standard/image.c:1.113
--- php-src/ext/standard/image.c:1.112  Sun Mar  6 17:18:09 2005
+++ php-src/ext/standard/image.c        Wed Jun  1 18:28:03 2005
@@ -17,7 +17,7 @@
    +----------------------------------------------------------------------+
  */
 
-/* $Id: image.c,v 1.112 2005/03/06 22:18:09 helly Exp $ */
+/* $Id: image.c,v 1.113 2005/06/01 22:28:03 iliaa Exp $ */
 
 #include "php.h"
 #include <stdio.h>
@@ -398,7 +398,7 @@
                                last_marker = M_PSEUDO; /* stop skipping non 
0xff for M_COM */
                        }
                }
-               if (++a > 10)
+               if (++a > 25)
                {
                        /* who knows the maxim amount of 0xff? though 7 */
                        /* but found other implementations              */

-- 
PHP CVS Mailing List (http://www.php.net/)
To unsubscribe, visit: http://www.php.net/unsub.php

Reply via email to