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

Valgrind Report for ext/gd/tests/xpm2png.phpt ('xpm --> png conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to PNG conversion: ";
5:     echo 
imagepng(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test_xpm.png") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     @
unlink($cwd "/test_xpm.png");
9:
?>
10:

Report

==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x7536FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70B5F1: gdImageCreateFromXpm (gdxpm.c:30)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x75370E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70B5F1: gdImageCreateFromXpm (gdxpm.c:30)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x753714D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70B5F1: gdImageCreateFromXpm (gdxpm.c:30)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x7537162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70B5F1: gdImageCreateFromXpm (gdxpm.c:30)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x75371C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70B5F1: gdImageCreateFromXpm (gdxpm.c:30)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x752F58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70C0F5: gdImageCreateFromXpm (gdxpm.c:131)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 
==6842== Conditional jump or move depends on uninitialised value(s)
==6842==    at 0x752F5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==6842==    by 0x70C0F5: gdImageCreateFromXpm (gdxpm.c:131)
==6842==    by 0x6EAC5D: _php_image_create_from (gd.c:2534)
==6842==    by 0x6EB0B9: zif_imagecreatefromxpm (gd.c:2627)
==6842==    by 0xDD4B8E: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==6842==    by 0xDDEC30: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2225)
==6842==    by 0xDD2CD8: execute (zend_vm_execute.h:410)
==6842==    by 0xD77966: zend_execute_scripts (zend.c:1315)
==6842==    by 0xCA9FB5: php_execute_script (main.c:2492)
==6842==    by 0xF45593: do_cli (php_cli.c:988)
==6842==    by 0xF46BD0: main (php_cli.c:1364)
==6842== 

 

Generated at Mon, 13 May 2013 22:40:14 +0000 (6 days ago)

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