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/bug71434.phpt ('Bug #68735 fileinfo out-of-bounds memory access')

Script

1: <?php
2: $a
='#!env python
3: # -*- coding:utf-8 -*-
4:
5: from serial import Serial
6: from sys import exit
7: '
;
8:
$finfo = new finfo(FILEINFO_MIME_TYPE);
9: echo 
$finfo->buffer($a) . "\n";
10:
?>
11:

Report

==10793== Conditional jump or move depends on uninitialised value(s)
==10793==    at 0x41310BE: ???
==10793==    by 0x14F3062F: ???
==10793==    by 0x14F3062F: ???
==10793==    by 0x14F30683: ???
==10793==    by 0x1FFEFFBB5F: ???
==10793==    by 0x14F306CF: ???
==10793== 

 

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

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