PHP  
 PHP_5_3
downloads | QA | documentation | faq | getting help | mailing lists | reporting bugs | php.net sites | links | my php.net 
 

Valgrind Report for ext/gd/tests/xpm2jpg.phpt ('xpm --> jpeg conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to JPEG conversion: ";
5:     echo 
imagejpeg(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test_xpm.jpeg") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     @
unlink($cwd "/test_xpm.jpeg");
9:
?>
10:

Report

==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x7230FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x72310E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x723114D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x7231162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x72311C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x7229C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FE541: gdImageCreateFromXpm (gdxpm.c:30)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x722958F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FF045: gdImageCreateFromXpm (gdxpm.c:131)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 
==29120== Conditional jump or move depends on uninitialised value(s)
==29120==    at 0x72295D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==29120==    by 0x6FF045: gdImageCreateFromXpm (gdxpm.c:131)
==29120==    by 0x6DE31D: _php_image_create_from (gd.c:2497)
==29120==    by 0x6DE76A: zif_imagecreatefromxpm (gd.c:2579)
==29120==    by 0xDBB76C: zend_do_fcall_common_helper_SPEC (zend_vm_execute.h:322)
==29120==    by 0xDC1AA3: ZEND_DO_FCALL_SPEC_CONST_HANDLER (zend_vm_execute.h:1634)
==29120==    by 0xDBA7C3: execute (zend_vm_execute.h:107)
==29120==    by 0xD6DC63: zend_execute_scripts (zend.c:1259)
==29120==    by 0xCB9C70: php_execute_script (main.c:2316)
==29120==    by 0xEB1004: main (php_cli.c:1189)
==29120== 

 

Generated at Fri, 18 Apr 2014 07:01:42 +0000 (2 days ago)

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