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/xpm2gd.phpt ('xpm --> gd1/gd2 conversion test')

Script

1: <?php
2:     $cwd 
dirname(__FILE__);
3:
4:     echo 
"XPM to GD1 conversion: ";
5:     echo 
imagegd(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd1") ? 'ok' 'failed';
6:     echo 
"\n";
7:
8:     echo 
"XPM to GD2 conversion: ";
9:     echo 
imagegd2(imagecreatefromxpm($cwd "/conv_test.xpm"), $cwd "/test.gd2") ? 'ok' 'failed';
10:     echo 
"\n";
11:
12:     @
unlink($cwd "/test.gd1");
13:     @
unlink($cwd "/test.gd2");
14:
?>
15:

Report

==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x7047FE8: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BCD75: gdImageCreateFromXpm (gdxpm.c:30)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x70480E3: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BCD75: gdImageCreateFromXpm (gdxpm.c:30)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x704814D: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BCD75: gdImageCreateFromXpm (gdxpm.c:30)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x7048162: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BCD75: gdImageCreateFromXpm (gdxpm.c:30)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x70481C2: xpmParseData (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7040C4D: XpmReadFileToXpmImage (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BCD75: gdImageCreateFromXpm (gdxpm.c:30)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x704058F: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BD8E0: gdImageCreateFromXpm (gdxpm.c:136)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 
==19822== Conditional jump or move depends on uninitialised value(s)
==19822==    at 0x70405D9: XpmFreeXpmInfo (in /usr/lib64/libXpm.so.4.11.0)
==19822==    by 0x7BD8E0: gdImageCreateFromXpm (gdxpm.c:136)
==19822==    by 0x79B1A2: _php_image_create_from (gd.c:2478)
==19822==    by 0x79B5BC: zif_imagecreatefromxpm (gd.c:2563)
==19822==    by 0x10105A4: ZEND_DO_ICALL_SPEC_HANDLER (zend_vm_execute.h:563)
==19822==    by 0x100E4E5: execute_ex (zend_vm_execute.h:394)
==19822==    by 0x100EFFE: zend_execute (zend_vm_execute.h:434)
==19822==    by 0xF46C5B: zend_execute_scripts (zend.c:1389)
==19822==    by 0xE48EBB: php_execute_script (main.c:2479)
==19822==    by 0x114D47A: do_cli (php_cli.c:967)
==19822==    by 0x114EEE9: main (php_cli.c:1334)
==19822== 

 

Generated at Thu, 21 May 2015 19:59:12 +0000 (29 hours ago)

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