PHP  
 PHP_5_5
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

==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729EFE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7297C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B1F05: gdImageCreateFromXpm (gdxpm.c:30)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729F0E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7297C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B1F05: gdImageCreateFromXpm (gdxpm.c:30)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729F14D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7297C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B1F05: gdImageCreateFromXpm (gdxpm.c:30)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729F162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7297C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B1F05: gdImageCreateFromXpm (gdxpm.c:30)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729F1C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7297C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B1F05: gdImageCreateFromXpm (gdxpm.c:30)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x729758F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B2A70: gdImageCreateFromXpm (gdxpm.c:136)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178==    by 0x10A9992: main (php_cli.c:1378)
==18178== 
==18178== Conditional jump or move depends on uninitialised value(s)
==18178==    at 0x72975D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==18178==    by 0x7B2A70: gdImageCreateFromXpm (gdxpm.c:136)
==18178==    by 0x78DCC7: _php_image_create_from (gd.c:2424)
==18178==    by 0x78E15E: zif_imagecreatefromxpm (gd.c:2509)
==18178==    by 0xF241C5: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:550)
==18178==    by 0xF2E2FF: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2336)
==18178==    by 0xF21E14: execute_ex (zend_vm_execute.h:363)
==18178==    by 0xF229A6: zend_execute (zend_vm_execute.h:388)
==18178==    by 0xEBE2B8: zend_execute_scripts (zend.c:1327)
==18178==    by 0xDE0582: php_execute_script (main.c:2525)
==18178==    by 0x10A81E5: do_cli (php_cli.c:994)
==18178==    by 0x10A9992: main (php_cli.c:1378)
==18178== 

 

Generated at Mon, 08 Aug 2016 07:07:40 +0000 (17 days ago)

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