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/bug68819_002.phpt ('Bug #68819 Fileinfo on specific file causes spurious OOM and/or segfault, var 2')

Script

1: <?php
2:
3: $string 
'';
4:
5:
// These two in any order
6:
$string .= "\r\n";
7:
$string .= "''''";
8:
9:
// Total string length > 8192
10:
$string .= str_repeat("a"8184);
11:
12:
// Ending in this string
13:
$string .= "say";
14:
15:
$finfo = new finfo();
16:
$type $finfo->buffer($string);
17:
var_dump($type);
18:
19:
?>
20:

Report

==10773== Conditional jump or move depends on uninitialised value(s)
==10773==    at 0x413CFF4: ???
==10773==    by 0x14FA68DF: ???
==10773==    by 0x14FA68DF: ???
==10773==    by 0x14FA88E0: ???
==10773==    by 0x1FFEFFBA1F: ???
==10773==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10773== 
==10773== Conditional jump or move depends on uninitialised value(s)
==10773==    at 0x413BCB9: ???
==10773==    by 0x14FB90FF: ???
==10773==    by 0x14FB90FF: ???
==10773==    by 0x14FBB100: ???
==10773==    by 0x1FFEFFBA0F: ???
==10773==    by 0x14FBB14F: ???
==10773== 
==10773== Conditional jump or move depends on uninitialised value(s)
==10773==    at 0x413A249: ???
==10773==    by 0x14FD678F: ???
==10773==    by 0x14FD678F: ???
==10773==    by 0x14FD8790: ???
==10773==    by 0x1FFEFFBA0F: ???
==10773==    by 0x14FD87DF: ???
==10773== 
==10773== Conditional jump or move depends on uninitialised value(s)
==10773==    at 0x41364A4: ???
==10773==    by 0x1501BC2F: ???
==10773==    by 0x1501BC2F: ???
==10773==    by 0x1501DC30: ???
==10773==    by 0x1FFEFFBA1F: ???
==10773==    by 0x10AC63B: zend_is_executing (zend_execute_API.c:525)
==10773== 

 

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

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