com php-src: Fixed conditional jump or move depends on uninitialised value(s): ext/gd/libgd/gdxpm.c

From: Date: Thu, 02 Jul 2015 11:02:49 +0000
Subject: com php-src: Fixed conditional jump or move depends on uninitialised value(s): ext/gd/libgd/gdxpm.c
Groups: php.cvs 
Request: Send a blank email to php-cvs+get-87688@lists.php.net to get a copy of this message
Commit: 6de750efb727180f6f594dbfb92c9fb46ed55049 Author: Xinchen Hui <laruence@php.net> Thu, 2 Jul 2015 19:02:49 +0800 Parents: 72b0627315e6606310c1042a51dad6e835620bab Branches: master Link: http://git.php.net/?p=php-src.git;a=commitdiff;h=6de750efb727180f6f594dbfb92c9fb46ed55049 Log: Fixed conditional jump or move depends on uninitialised value(s) ==11551== at 0x57CB23C: xpmParseData (parse.c:702) Changed paths: M ext/gd/libgd/gdxpm.c Diff: diff --git a/ext/gd/libgd/gdxpm.c b/ext/gd/libgd/gdxpm.c index b69414e..8db7fe0 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];

« previous php.cvs (#87688) next »