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

==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x7047FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CA70D: gdImageCreateFromXpm (gdxpm.c:30)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x70480E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CA70D: gdImageCreateFromXpm (gdxpm.c:30)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x704814D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CA70D: gdImageCreateFromXpm (gdxpm.c:30)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x7048162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CA70D: gdImageCreateFromXpm (gdxpm.c:30)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x70481C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CA70D: gdImageCreateFromXpm (gdxpm.c:30)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x704058F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CB278: gdImageCreateFromXpm (gdxpm.c:136)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 
==24367== Conditional jump or move depends on uninitialised value(s)
==24367==    at 0x70405D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==24367==    by 0x7CB278: gdImageCreateFromXpm (gdxpm.c:136)
==24367==    by 0x7A860B: _php_image_create_from (gd.c:2425)
==24367==    by 0x7A8A10: zif_imagecreatefromxpm (gd.c:2510)
==24367==    by 0x10C6FEA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==24367==    by 0x10C3CE4: execute_ex (zend_vm_execute.h:352)
==24367==    by 0x10C4962: zend_execute (zend_vm_execute.h:381)
==24367==    by 0x101C58E: zend_execute_scripts (zend.c:1271)
==24367==    by 0xF230B5: php_execute_script (main.c:2554)
==24367==    by 0x11D62F9: do_cli (php_cli.c:982)
==24367==    by 0x11D7D7A: main (php_cli.c:1361)
==24367== 

 

Generated at Mon, 26 Jan 2015 14:47:00 +0000 (21 hours ago)

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