diff options
| author | foobar <sniper@php.net> | 2002-06-05 23:24:23 +0000 |
|---|---|---|
| committer | foobar <sniper@php.net> | 2002-06-05 23:24:23 +0000 |
| commit | 12f6175f265397fbd78072ad04e30d63b4e1957f (patch) | |
| tree | 4a2d61885f78ef612eed6bcc99db3a3df2fc56aa /ext | |
| parent | e449646b68bbe7f0195aeeeac9162369ba9d78e1 (diff) | |
| download | php-git-12f6175f265397fbd78072ad04e30d63b4e1957f.tar.gz | |
- Fixes a segfault reported in #17584
Diffstat (limited to 'ext')
| -rw-r--r-- | ext/gd/libgd/gd.c | 1 |
1 files changed, 1 insertions, 0 deletions
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)) { |
