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

==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x7047FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C7DC9: gdImageCreateFromXpm (gdxpm.c:30)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x70480E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C7DC9: gdImageCreateFromXpm (gdxpm.c:30)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x704814D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C7DC9: gdImageCreateFromXpm (gdxpm.c:30)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x7048162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C7DC9: gdImageCreateFromXpm (gdxpm.c:30)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x70481C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C7DC9: gdImageCreateFromXpm (gdxpm.c:30)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x704058F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C8934: gdImageCreateFromXpm (gdxpm.c:136)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 
==27600== Conditional jump or move depends on uninitialised value(s)
==27600==    at 0x70405D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==27600==    by 0x7C8934: gdImageCreateFromXpm (gdxpm.c:136)
==27600==    by 0x7A627D: _php_image_create_from (gd.c:2478)
==27600==    by 0x7A6697: zif_imagecreatefromxpm (gd.c:2563)
==27600==    by 0x10B33EA: ZEND_DO_FCALL_SPEC_HANDLER (zend_vm_execute.h:596)
==27600==    by 0x10B00E4: execute_ex (zend_vm_execute.h:352)
==27600==    by 0x10B0D62: zend_execute (zend_vm_execute.h:381)
==27600==    by 0x1003E47: zend_execute_scripts (zend.c:1277)
==27600==    by 0xF09908: php_execute_script (main.c:2549)
==27600==    by 0x11C53C6: do_cli (php_cli.c:979)
==27600==    by 0x11C6E35: main (php_cli.c:1355)
==27600== 

 

Generated at Tue, 14 Apr 2015 11:48:58 +0000 (11 days ago)

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