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

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

 

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

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