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

==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x7045FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C85AD: gdImageCreateFromXpm (gdxpm.c:30)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x70460E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C85AD: gdImageCreateFromXpm (gdxpm.c:30)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x704614D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C85AD: gdImageCreateFromXpm (gdxpm.c:30)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x7046162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C85AD: gdImageCreateFromXpm (gdxpm.c:30)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x70461C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C85AD: gdImageCreateFromXpm (gdxpm.c:30)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x703E58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C9118: gdImageCreateFromXpm (gdxpm.c:136)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 
==21124== Conditional jump or move depends on uninitialised value(s)
==21124==    at 0x703E5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==21124==    by 0x7C9118: gdImageCreateFromXpm (gdxpm.c:136)
==21124==    by 0x7A6486: _php_image_create_from (gd.c:2420)
==21124==    by 0x7A688B: zif_imagecreatefromxpm (gd.c:2505)
==21124==    by 0x10AD8C8: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==21124==    by 0x10AB26E: execute_ex (zend_vm_execute.h:352)
==21124==    by 0x10ABE50: zend_execute (zend_vm_execute.h:381)
==21124==    by 0x1004A48: zend_execute_scripts (zend.c:1266)
==21124==    by 0xF05C99: php_execute_script (main.c:2563)
==21124==    by 0x11C01C5: do_cli (php_cli.c:978)
==21124==    by 0x11C1C3C: main (php_cli.c:1356)
==21124== 

 

Generated at Sat, 13 Dec 2014 06:16:29 +0000 (6 days ago)

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