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

==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x729FFE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x7298C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710485: gdImageCreateFromXpm (gdxpm.c:30)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x72A00E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x7298C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710485: gdImageCreateFromXpm (gdxpm.c:30)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x72A014D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x7298C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710485: gdImageCreateFromXpm (gdxpm.c:30)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x72A0162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x7298C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710485: gdImageCreateFromXpm (gdxpm.c:30)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x72A01C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x7298C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710485: gdImageCreateFromXpm (gdxpm.c:30)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x729858F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710FF0: gdImageCreateFromXpm (gdxpm.c:136)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 
==14506== Conditional jump or move depends on uninitialised value(s)
==14506==    at 0x72985D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==14506==    by 0x710FF0: gdImageCreateFromXpm (gdxpm.c:136)
==14506==    by 0x6EFAEE: _php_image_create_from (gd.c:2534)
==14506==    by 0x6EFF4A: zif_imagecreatefromxpm (gd.c:2627)
==14506==    by 0xDE3573: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:643)
==14506==    by 0xDED713: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2233)
==14506==    by 0xDE16CF: execute (zend_vm_execute.h:410)
==14506==    by 0xD8567C: zend_execute_scripts (zend.c:1329)
==14506==    by 0xCB77DD: php_execute_script (main.c:2502)
==14506==    by 0xF537C0: do_cli (php_cli.c:989)
==14506==    by 0xF54DFD: main (php_cli.c:1365)
==14506== 

 

Generated at Wed, 28 Jan 2015 13:21:41 +0000 (2 days ago)

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