cvs: php-src(PHP_5_2) /ext/gd/libgd gd_gif_in.c /ext/gd/tests bug38112.gif bug38112.phpt
| From: | Pierre-Alain Joye | Date: | Mon, 17 Jul 2006 14:30:21 +0000 |
| Subject: | cvs: php-src(PHP_5_2) /ext/gd/libgd gd_gif_in.c /ext/gd/tests bug38112.gif bug38112.phpt | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-39313@lists.php.net to get a copy of this message | ||
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