From: foobar Date: Wed, 5 Jun 2002 23:24:23 +0000 (+0000) Subject: - Fixes a segfault reported in #17584 X-Git-Tag: RELEASE_0_90~16 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=12f6175f265397fbd78072ad04e30d63b4e1957f;p=php - Fixes a segfault reported in #17584 --- diff --git a/ext/gd/libgd/gd.c b/ext/gd/libgd/gd.c index d2e102e086..4293c521c1 100644 --- a/ext/gd/libgd/gd.c +++ b/ext/gd/libgd/gd.c @@ -748,6 +748,7 @@ gdImageTileApply (gdImagePtr im, int x, int y) } else { + p = gdImageGetPixel(im->tile, srcx, srcy); /* Allow for transparency */ if (p != gdImageGetTransparent (im->tile)) {