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

Valgrind Report for ext/fileinfo/tests/finfo_file_basic.phpt ('Test finfo_file() function : basic functionality')

Script

1: <?php
2:
/* Prototype  : string finfo_file(resource finfo, char *file_name [, int options [, resource context]])
3:  * Description: Return information about a file. 
4:  * Source code: ext/fileinfo/fileinfo.c
5:  * Alias to functions: 
6:  */
7:
8:
$magicFile dirname(__FILE__) . DIRECTORY_SEPARATOR 'magic';
9:
$finfo finfo_openFILEINFO_MIME );
10:
11: echo 
"*** Testing finfo_file() : basic functionality ***\n";
12:
13:
// Calling finfo_file() with all possible arguments
14:
var_dumpfinfo_file$finfo__FILE__) );
15:
var_dumpfinfo_file$finfo__FILE__FILEINFO_CONTINUE ) );
16:
var_dumpfinfo_file$finfo$magicFile ) );
17:
var_dumpfinfo_file$finfo$magicFile.chr(0).$magicFile) );
18:
19:
?>
20:
===DONE===
21:

Report

==10884== Conditional jump or move depends on uninitialised value(s)
==10884==    at 0x413D08C: ???
==10884==    by 0x152458FF: ???
==10884==    by 0x152458FF: ???
==10884==    by 0x15245BA3: ???
==10884==    by 0x1FFEFFB9DF: ???
==10884==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10884== 
==10884== Conditional jump or move depends on uninitialised value(s)
==10884==    at 0x413C289: ???
==10884==    by 0x14F5143F: ???
==10884==    by 0x14F5143F: ???
==10884==    by 0x14F516E3: ???
==10884==    by 0x1FFEFFB9CF: ???
==10884==    by 0x15249DFF: ???
==10884== 
==10884== Conditional jump or move depends on uninitialised value(s)
==10884==    at 0x413ABE9: ???
==10884==    by 0x14F5933F: ???
==10884==    by 0x14F5933F: ???
==10884==    by 0x14F595E3: ???
==10884==    by 0x1FFEFFB9CF: ???
==10884==    by 0x15251BAF: ???
==10884== 
==10884== Conditional jump or move depends on uninitialised value(s)
==10884==    at 0x413A794: ???
==10884==    by 0x14F5A96F: ???
==10884==    by 0x14F5A96F: ???
==10884==    by 0x14F5AC12: ???
==10884==    by 0x1FFEFFB9DF: ???
==10884==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10884== 
==10884== Conditional jump or move depends on uninitialised value(s)
==10884==    at 0x4138294: ???
==10884==    by 0x14F682CF: ???
==10884==    by 0x14F682CF: ???
==10884==    by 0x14F68572: ???
==10884==    by 0x1FFEFFB9DF: ???
==10884==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10884== 

 

Generated at Sat, 09 Sep 2017 03:10:54 +0000 (14 days ago)

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