From 12f6175f265397fbd78072ad04e30d63b4e1957f Mon Sep 17 00:00:00 2001 From: foobar Date: Wed, 5 Jun 2002 23:24:23 +0000 Subject: [PATCH] - Fixes a segfault reported in #17584 --- ext/gd/libgd/gd.c | 1 + 1 file changed, 1 insertion(+) 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)) { -- 2.50.1