cvs: php4 /ext/gd/libgd gd.c
| From: | Jani Taskinen | Date: | Wed, 05 Jun 2002 23:24:24 +0000 |
| Subject: | cvs: php4 /ext/gd/libgd gd.c | ||
| Groups: | php.cvs | ||
| Request: | Send a blank email to php-cvs+get-12236@lists.php.net to get a copy of this message | ||
sniper Wed Jun 5 19:24:24 2002 EDT
Modified files:
/php4/ext/gd/libgd gd.c
Log:
- Fixes a segfault reported in #17584
Index: php4/ext/gd/libgd/gd.c
diff -u php4/ext/gd/libgd/gd.c:1.3 php4/ext/gd/libgd/gd.c:1.4
--- php4/ext/gd/libgd/gd.c:1.3 Mon May 13 16:20:16 2002
+++ php4/ext/gd/libgd/gd.c Wed Jun 5 19:24:23 2002
@@ -748,6 +748,7 @@
}
else
{
+ p = gdImageGetPixel(im->tile, srcx, srcy);
/* Allow for transparency */
if (p != gdImageGetTransparent (im->tile))
{