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

==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x7047FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BE785: gdImageCreateFromXpm (gdxpm.c:30)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x70480E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BE785: gdImageCreateFromXpm (gdxpm.c:30)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x704814D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BE785: gdImageCreateFromXpm (gdxpm.c:30)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x7048162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BE785: gdImageCreateFromXpm (gdxpm.c:30)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x70481C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BE785: gdImageCreateFromXpm (gdxpm.c:30)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x704058F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BF2F0: gdImageCreateFromXpm (gdxpm.c:136)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 
==25382== Conditional jump or move depends on uninitialised value(s)
==25382==    at 0x70405D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==25382==    by 0x7BF2F0: gdImageCreateFromXpm (gdxpm.c:136)
==25382==    by 0x79CBA9: _php_image_create_from (gd.c:2368)
==25382==    by 0x79CFC3: zif_imagecreatefromxpm (gd.c:2453)
==25382==    by 0x100C7AD: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:576)
==25382==    by 0x100A6EE: execute_ex (zend_vm_execute.h:406)
==25382==    by 0x100B207: zend_execute (zend_vm_execute.h:447)
==25382==    by 0xF42687: zend_execute_scripts (zend.c:1389)
==25382==    by 0xE3AAB7: php_execute_script (main.c:2475)
==25382==    by 0x113DAE2: do_cli (php_cli.c:967)
==25382==    by 0x113F551: main (php_cli.c:1334)
==25382== 

 

Generated at Sat, 27 Jun 2015 09:41:26 +0000 (3 days ago)

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