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_buffer_basic-mb.phpt ('Test finfo_buffer() function : basic functionality')

Script

1: <?php
2:
/* Prototype  : string finfo_buffer(resource finfo, char *string [, int options [, resource context]])
3:  * Description: Return infromation about a string buffer. 
4:  * Source code: ext/fileinfo/fileinfo.c
5:  * Alias to functions: 
6:  */
7:
8:
$magicFile dirname(__FILE__) . DIRECTORY_SEPARATOR 'magic私はガラスを食べられます';
9:
10:
$options = array(
11:     
FILEINFO_NONE,
12:     
FILEINFO_MIME,
13: );
14:
15:
$buffers = array(
16:     
"Regular string here",
17:     
"\177ELF",
18:     
"\000\000\0001\000\000\0000\000\000\0000\000\000\0002\000\000\0000\000\000\0000\000\000\0003",
19:     
"\x55\x7A\x6E\x61",
20:     
"id=ImageMagick",
21:     
"RIFFüîò^BAVI LISTv",
22: );
23:
24: echo 
"*** Testing finfo_buffer() : basic functionality ***\n";
25:
26: foreach( 
$options as $option ) {
27:     
$finfo finfo_open$option$magicFile );
28:     foreach( 
$buffers as $string ) {
29:         
var_dumpfinfo_buffer$finfo$string$option ) );
30:     }
31:     
finfo_close$finfo );
32: }
33:
34:
?>
35:
===DONE===
36:

Report

==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D40C: ???
==10833==    by 0x13CFCC6F: ???
==10833==    by 0x13CFCC6F: ???
==10833==    by 0x13CFCC82: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0D1: ???
==10833==    by 0x13CFD4CF: ???
==10833==    by 0x13CFD4CF: ???
==10833==    by 0x13CFD4E2: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D6F09F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AECA: ???
==10833==    by 0x13D5530F: ???
==10833==    by 0x13D5530F: ???
==10833==    by 0x13D55322: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D6FABF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA31: ???
==10833==    by 0x13D5547F: ???
==10833==    by 0x13D5547F: ???
==10833==    by 0x13D55492: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D702CF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5DC: ???
==10833==    by 0x13D55D9F: ???
==10833==    by 0x13D55D9F: ???
==10833==    by 0x13D55DB2: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380DC: ???
==10833==    by 0x13D64B8F: ???
==10833==    by 0x13D64B8F: ???
==10833==    by 0x13D64BA2: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C8C: ???
==10833==    by 0x13D6559F: ???
==10833==    by 0x13D6559F: ???
==10833==    by 0x13D655B2: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413677C: ???
==10833==    by 0x13D65B5F: ???
==10833==    by 0x13D65B5F: ???
==10833==    by 0x13D65B70: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D40C: ???
==10833==    by 0x13CECEDF: ???
==10833==    by 0x13CECEDF: ???
==10833==    by 0x13CECEF2: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0D1: ???
==10833==    by 0x13CEEF0F: ???
==10833==    by 0x13CEEF0F: ???
==10833==    by 0x13CEEF22: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D5A83F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AECA: ???
==10833==    by 0x13CFB36F: ???
==10833==    by 0x13CFB36F: ???
==10833==    by 0x13CFB382: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D5D9EF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA31: ???
==10833==    by 0x13CFB49F: ???
==10833==    by 0x13CFB49F: ???
==10833==    by 0x13CFB4B2: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13D6030F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5DC: ???
==10833==    by 0x13CFB5CF: ???
==10833==    by 0x13CFB5CF: ???
==10833==    by 0x13CFB5E2: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380DC: ???
==10833==    by 0x13CFD12F: ???
==10833==    by 0x13CFD12F: ???
==10833==    by 0x13CFD142: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C8C: ???
==10833==    by 0x13CFDD6F: ???
==10833==    by 0x13CFDD6F: ???
==10833==    by 0x13CFDD82: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413677C: ???
==10833==    by 0x13CFE90F: ???
==10833==    by 0x13CFE90F: ???
==10833==    by 0x13CFE920: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D3EA: ???
==10833==    by 0x13F776FF: ???
==10833==    by 0x13F776FF: ???
==10833==    by 0x13F77705: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0AB: ???
==10833==    by 0x13EAC45F: ???
==10833==    by 0x13EAC45F: ???
==10833==    by 0x13EAC465: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13E4193F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA0F: ???
==10833==    by 0x13F6DA5F: ???
==10833==    by 0x13F6DA5F: ???
==10833==    by 0x13F6DA65: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13DE012F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5BA: ???
==10833==    by 0x13F70A5F: ???
==10833==    by 0x13F70A5F: ???
==10833==    by 0x13F70A65: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380BA: ???
==10833==    by 0x13F973DF: ???
==10833==    by 0x13F973DF: ???
==10833==    by 0x13F973E5: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C6A: ???
==10833==    by 0x13FA7AAF: ???
==10833==    by 0x13FA7AAF: ???
==10833==    by 0x13FA7AB5: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413675A: ???
==10833==    by 0x13FA7B5F: ???
==10833==    by 0x13FA7B5F: ???
==10833==    by 0x13FA7B63: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D3EA: ???
==10833==    by 0x13FA986F: ???
==10833==    by 0x13FA986F: ???
==10833==    by 0x13FA9873: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0AB: ???
==10833==    by 0x13FA9B6F: ???
==10833==    by 0x13FA9B6F: ???
==10833==    by 0x13FA9B73: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13EA67AF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA0F: ???
==10833==    by 0x1402768F: ???
==10833==    by 0x1402768F: ???
==10833==    by 0x14027693: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x144A3ECF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5BA: ???
==10833==    by 0x1406297F: ???
==10833==    by 0x1406297F: ???
==10833==    by 0x14062983: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380BA: ???
==10833==    by 0x1447852F: ???
==10833==    by 0x1447852F: ???
==10833==    by 0x14478533: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C6A: ???
==10833==    by 0x1450F9CF: ???
==10833==    by 0x1450F9CF: ???
==10833==    by 0x1450F9D3: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413675A: ???
==10833==    by 0x1451182F: ???
==10833==    by 0x1451182F: ???
==10833==    by 0x14511831: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D3EA: ???
==10833==    by 0x13D8242F: ???
==10833==    by 0x13D8242F: ???
==10833==    by 0x13D8243D: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0AB: ???
==10833==    by 0x13D8396F: ???
==10833==    by 0x13D8396F: ???
==10833==    by 0x13D8397D: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x1405749F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AEA8: ???
==10833==    by 0x13D8819F: ???
==10833==    by 0x13D8819F: ???
==10833==    by 0x13D881AD: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x140610DF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA0F: ???
==10833==    by 0x13D8B03F: ???
==10833==    by 0x13D8B03F: ???
==10833==    by 0x13D8B04D: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x14066FAF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5BA: ???
==10833==    by 0x13DCA4DF: ???
==10833==    by 0x13DCA4DF: ???
==10833==    by 0x13DCA4ED: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380BA: ???
==10833==    by 0x13E017AF: ???
==10833==    by 0x13E017AF: ???
==10833==    by 0x13E017BD: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C6A: ???
==10833==    by 0x13E406DF: ???
==10833==    by 0x13E406DF: ???
==10833==    by 0x13E406ED: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413675A: ???
==10833==    by 0x13E4084F: ???
==10833==    by 0x13E4084F: ???
==10833==    by 0x13E4085B: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413D40C: ???
==10833==    by 0x13E4801F: ???
==10833==    by 0x13E4801F: ???
==10833==    by 0x13E48034: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413C0D1: ???
==10833==    by 0x13E4878F: ???
==10833==    by 0x13E4878F: ???
==10833==    by 0x13E487A4: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x13EC79DF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AECA: ???
==10833==    by 0x13E4981F: ???
==10833==    by 0x13E4981F: ???
==10833==    by 0x13E49834: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x144D8B3F: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413AA31: ???
==10833==    by 0x13E4998F: ???
==10833==    by 0x13E4998F: ???
==10833==    by 0x13E499A4: ???
==10833==    by 0x1FFEFFBA9F: ???
==10833==    by 0x1403C6BF: ???
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413A5DC: ???
==10833==    by 0x13E49AFF: ???
==10833==    by 0x13E49AFF: ???
==10833==    by 0x13E49B14: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x41380DC: ???
==10833==    by 0x13E4B8FF: ???
==10833==    by 0x13E4B8FF: ???
==10833==    by 0x13E4B914: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x4136C8C: ???
==10833==    by 0x13E4F09F: ???
==10833==    by 0x13E4F09F: ???
==10833==    by 0x13E4F0B4: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 
==10833== Conditional jump or move depends on uninitialised value(s)
==10833==    at 0x413677C: ???
==10833==    by 0x13E4F20F: ???
==10833==    by 0x13E4F20F: ???
==10833==    by 0x13E4F222: ???
==10833==    by 0x1FFEFFBAAF: ???
==10833==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10833== 

 

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

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