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

==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x7042FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7BFB95: gdImageCreateFromXpm (gdxpm.c:30)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x70430E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7BFB95: gdImageCreateFromXpm (gdxpm.c:30)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x704314D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7BFB95: gdImageCreateFromXpm (gdxpm.c:30)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x7043162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7BFB95: gdImageCreateFromXpm (gdxpm.c:30)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x70431C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7BFB95: gdImageCreateFromXpm (gdxpm.c:30)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x703B58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7C0700: gdImageCreateFromXpm (gdxpm.c:136)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 
==23311== Conditional jump or move depends on uninitialised value(s)
==23311==    at 0x703B5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==23311==    by 0x7C0700: gdImageCreateFromXpm (gdxpm.c:136)
==23311==    by 0x79D0C9: _php_image_create_from (gd.c:2427)
==23311==    by 0x79D4BF: zif_imagecreatefromxpm (gd.c:2512)
==23311==    by 0x10AA134: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==23311==    by 0x10A78EE: execute_ex (zend_vm_execute.h:352)
==23311==    by 0x10A859A: zend_execute (zend_vm_execute.h:381)
==23311==    by 0xFFB390: zend_execute_scripts (zend.c:1290)
==23311==    by 0xEFCD74: php_execute_script (main.c:2560)
==23311==    by 0x11FDB1D: do_cli (php_cli.c:978)
==23311==    by 0x11FF599: main (php_cli.c:1356)
==23311== 

 

Generated at Sat, 27 Sep 2014 16:43:25 +0000 (4 days ago)

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