PHP  
 PHP_5_3
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/gd/tests/xpm2gd.phpt ('xpm --> gd1/gd2 conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to GD1 conversion: ";
5:     echo 
imagegd(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd1") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     echo 
"XPM to GD2 conversion: ";
9:     echo 
imagegd2(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd2") ? 'ok' 'failed';
10:     echo 
"\n";
11:
12:     @
unlink($cwd "/test.gd1");
13:     @
unlink($cwd "/test.gd2");
14:
?>
15:

Report

==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x7230FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x72310E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x723114D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x7231162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x72311C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x722958F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FF045: gdImageCreateFromXpm (gdxpm.c:131)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 
==24502== Conditional jump or move depends on uninitialised value(s)
==24502==    at 0x72295D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24502==    by 0x6FF045: gdImageCreateFromXpm (gdxpm.c:131)
==24502==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==24502==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==24502==    by 0xDBB770: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==24502==    by 0xDC1AA7: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==24502==    by 0xDBA7C7: execute (zend_vm_execute.h:107)
==24502==    by 0xD6DC67: zend_execute_scripts (zend.c:1259)
==24502==    by 0xCB9C74: php_execute_script (main.c:2316)
==24502==    by 0xEB1008: main (php_cli.c:1189)
==24502== 

 

Generated at Sun, 27 Jul 2014 12:58:43 +0000 (3 days ago)

Copyright © 2005-2014 The PHP Group
All rights reserved.