summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorXinchen Hui <laruence@php.net>2015-07-02 19:02:49 +0800
committerXinchen Hui <laruence@php.net>2015-07-02 19:02:49 +0800
commit6de750efb727180f6f594dbfb92c9fb46ed55049 (patch)
tree719fd72fc545268ab64e1cf58ab6217aaadeea3d
parent72b0627315e6606310c1042a51dad6e835620bab (diff)
downloadphp-git-6de750efb727180f6f594dbfb92c9fb46ed55049.tar.gz
Fixed conditional jump or move depends on uninitialised value(s)
==11551== at 0x57CB23C: xpmParseData (parse.c:702)
-rw-r--r--ext/gd/libgd/gdxpm.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/ext/gd/libgd/gdxpm.c b/ext/gd/libgd/gdxpm.c
index b69414e60d..8db7fe0438 100644
--- a/ext/gd/libgd/gdxpm.c
+++ b/ext/gd/libgd/gdxpm.c
@@ -17,7 +17,7 @@
gdImagePtr gdImageCreateFromXpm (char *filename)
{
- XpmInfo info;
+ XpmInfo info = {0};
XpmImage image;
int i, j, k, number;
char buf[5];