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/xpm2gd.phpt ('xpm --> gd1/gd2 conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to GD1 conversion: ";
5:     echo 
imagegd(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd1") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     echo 
"XPM to GD2 conversion: ";
9:     echo 
imagegd2(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd2") ? 'ok' 'failed';
10:     echo 
"\n";
11:
12:     @
unlink($cwd "/test.gd1");
13:     @
unlink($cwd "/test.gd2");
14:
?>
15:

Report

==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x7042FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BB851: gdImageCreateFromXpm (gdxpm.c:30)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x70430E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BB851: gdImageCreateFromXpm (gdxpm.c:30)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x704314D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BB851: gdImageCreateFromXpm (gdxpm.c:30)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x7043162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BB851: gdImageCreateFromXpm (gdxpm.c:30)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x70431C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x703BC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BB851: gdImageCreateFromXpm (gdxpm.c:30)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x703B58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BC3BC: gdImageCreateFromXpm (gdxpm.c:136)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 
==8333== Conditional jump or move depends on uninitialised value(s)
==8333==    at 0x703B5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==8333==    by 0x7BC3BC: gdImageCreateFromXpm (gdxpm.c:136)
==8333==    by 0x798C93: _php_image_create_from (gd.c:2427)
==8333==    by 0x799089: zif_imagecreatefromxpm (gd.c:2512)
==8333==    by 0x100F494: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:593)
==8333==    by 0x100CCA9: execute_ex (zend_vm_execute.h:352)
==8333==    by 0x100D8E5: zend_execute (zend_vm_execute.h:381)
==8333==    by 0xF73DE7: zend_execute_scripts (zend.c:1345)
==8333==    by 0xE6FA7F: php_execute_script (main.c:2560)
==8333==    by 0x1166590: do_cli (php_cli.c:978)
==8333==    by 0x1167EB4: main (php_cli.c:1356)
==8333== 

 

Generated at Fri, 19 Sep 2014 17:11:23 +0000 (20 hours ago)

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