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

==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x7042FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BE869: gdImageCreateFromXpm (gdxpm.c:30)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x70430E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BE869: gdImageCreateFromXpm (gdxpm.c:30)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x704314D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BE869: gdImageCreateFromXpm (gdxpm.c:30)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x7043162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BE869: gdImageCreateFromXpm (gdxpm.c:30)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x70431C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BE869: gdImageCreateFromXpm (gdxpm.c:30)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x703B58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BF3D4: gdImageCreateFromXpm (gdxpm.c:136)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 
==6644== Conditional jump or move depends on uninitialised value(s)
==6644==    at 0x703B5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==6644==    by 0x7BF3D4: gdImageCreateFromXpm (gdxpm.c:136)
==6644==    by 0x79C73E: _php_image_create_from (gd.c:2420)
==6644==    by 0x79CB43: zif_imagecreatefromxpm (gd.c:2505)
==6644==    by 0x10A35DE: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==6644==    by 0x10A0F71: execute_ex (zend_vm_execute.h:352)
==6644==    by 0x10A1B62: zend_execute (zend_vm_execute.h:381)
==6644==    by 0xFF7FFD: zend_execute_scripts (zend.c:1266)
==6644==    by 0xEFAF93: php_execute_script (main.c:2560)
==6644==    by 0x121FD91: do_cli (php_cli.c:978)
==6644==    by 0x1221808: main (php_cli.c:1356)
==6644== 

 

Generated at Wed, 22 Oct 2014 07:25:05 +0000 (38 hours ago)

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