PHP  
 PHP_5_5
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

==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x7536FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x727829: gdImageCreateFromXpm (gdxpm.c:30)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x75370E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x727829: gdImageCreateFromXpm (gdxpm.c:30)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x753714D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x727829: gdImageCreateFromXpm (gdxpm.c:30)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x7537162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x727829: gdImageCreateFromXpm (gdxpm.c:30)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x75371C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x752FC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x727829: gdImageCreateFromXpm (gdxpm.c:30)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x752F58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x72832D: gdImageCreateFromXpm (gdxpm.c:131)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728==    by 0xFF2B21: main (php_cli.c:1377)
==30728== 
==30728== Conditional jump or move depends on uninitialised value(s)
==30728==    at 0x752F5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==30728==    by 0x72832D: gdImageCreateFromXpm (gdxpm.c:131)
==30728==    by 0x70300C: _php_image_create_from (gd.c:2436)
==30728==    by 0x7034A3: zif_imagecreatefromxpm (gd.c:2521)
==30728==    by 0xE70D6B: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:543)
==30728==    by 0xE7AD7B: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:2322)
==30728==    by 0xE6E9A8: execute_ex (zend_vm_execute.h:356)
==30728==    by 0xE6F53A: zend_execute (zend_vm_execute.h:381)
==30728==    by 0xE0CA32: zend_execute_scripts (zend.c:1316)
==30728==    by 0xD3043F: php_execute_script (main.c:2479)
==30728==    by 0xFF1374: do_cli (php_cli.c:993)
==30728==    by 0xFF2B21: main (php_cli.c:1377)
==30728== 

 

Generated at Wed, 15 May 2013 22:03:26 +0000 (2 days ago)

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