pajoye          Mon Jul 17 14:30:21 2006 UTC

  Added files:                 (Branch: PHP_5_2)
    /php-src/ext/gd/tests       bug38112.phpt bug38112.gif 

  Modified files:              
    /php-src/ext/gd/libgd       gd_gif_in.c 
  Log:
  - #38112, add test and use MAX_LWZ_BITS instead of the value
  
  
http://cvs.php.net/viewvc.cgi/php-src/ext/gd/libgd/gd_gif_in.c?r1=1.5.4.2.2.5&r2=1.5.4.2.2.6&diff_format=u
Index: php-src/ext/gd/libgd/gd_gif_in.c
diff -u php-src/ext/gd/libgd/gd_gif_in.c:1.5.4.2.2.5 
php-src/ext/gd/libgd/gd_gif_in.c:1.5.4.2.2.6
--- php-src/ext/gd/libgd/gd_gif_in.c:1.5.4.2.2.5        Sun Jul 16 11:07:31 2006
+++ php-src/ext/gd/libgd/gd_gif_in.c    Mon Jul 17 14:30:21 2006
@@ -522,7 +522,7 @@
                return;
        }
 
-       if (c > 8) {
+       if (c > MAX_LWZ_BITS) {
                return; 
        }
 

http://cvs.php.net/viewvc.cgi/php-src/ext/gd/tests/bug38112.phpt?view=markup&rev=1.1
Index: php-src/ext/gd/tests/bug38112.phpt
+++ php-src/ext/gd/tests/bug38112.phpt

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

Reply via email to