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/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

==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x7045FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BEA85: gdImageCreateFromXpm (gdxpm.c:30)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x70460E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BEA85: gdImageCreateFromXpm (gdxpm.c:30)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x704614D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BEA85: gdImageCreateFromXpm (gdxpm.c:30)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x7046162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BEA85: gdImageCreateFromXpm (gdxpm.c:30)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x70461C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x703EC4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BEA85: gdImageCreateFromXpm (gdxpm.c:30)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x703E58F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BF5F0: gdImageCreateFromXpm (gdxpm.c:136)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 
==18366== Conditional jump or move depends on uninitialised value(s)
==18366==    at 0x703E5D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==18366==    by 0x7BF5F0: gdImageCreateFromXpm (gdxpm.c:136)
==18366==    by 0x79C95E: _php_image_create_from (gd.c:2420)
==18366==    by 0x79CD63: zif_imagecreatefromxpm (gd.c:2505)
==18366==    by 0x10A1212: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:565)
==18366==    by 0x109EBAA: execute_ex (zend_vm_execute.h:352)
==18366==    by 0x109F79B: zend_execute (zend_vm_execute.h:381)
==18366==    by 0xFFA5B2: zend_execute_scripts (zend.c:1266)
==18366==    by 0xEFB401: php_execute_script (main.c:2563)
==18366==    by 0x1215833: do_cli (php_cli.c:978)
==18366==    by 0x12172AA: main (php_cli.c:1356)
==18366== 

 

Generated at Sat, 22 Nov 2014 23:01:31 +0000 (4 days ago)

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