Bug #66307 [Fbk]: Fileinfo crashes with powerpoint files
| From: | ab@php.net | Date: | Wed, 23 Apr 2014 14:46:07 +0000 |
| Subject: | Bug #66307 [Fbk]: Fileinfo crashes with powerpoint files | ||
| References: | 1 | Groups: | php.bugs |
| Request: | Send a blank email to php-bugs+get-185388@lists.php.net to get a copy of this message | ||
Edit report at https://bugs.php.net/bug.php?id=66307&edit=1
ID: 66307
Updated by: ab@php.net
Reported by: jamal at tantaoui dot com
Summary: Fileinfo crashes with powerpoint files
Status: Feedback
Type: Bug
Package: Reproducible crash
Operating System: Windows 7 SP1 64bits
PHP Version: 5.5.7
Assigned To: ab
Block user comment: N
Private report: N
New Comment:
@jamal, could you please check whether 5.6.0beta1 or the latest 5.5 release is vulnerable for you?
Is that some special ppt file or any?
Thanks.
Previous Comments:
------------------------------------------------------------------------
[2014-01-02 13:55:32] ab@php.net
Thanks for posting the memory dump, but I'd really like to see the backtrace first. I'd
also appreciate you to share the exact ppt file causing this crash.
Thanks
------------------------------------------------------------------------
[2013-12-17 20:21:31] jamal at tantaoui dot com
The backtrace is available here : https://mon-partage.fr/f/3lhKk35K/
------------------------------------------------------------------------
[2013-12-17 18:19:04] aharvey@php.net
Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php
for *NIX and
http://bugs.php.net/bugs-generating-backtrace-win32.php
for Win32
Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.
------------------------------------------------------------------------
[2013-12-17 12:01:58] jamal at tantaoui dot com
Description:
------------
finfo_file crashes when i try to get the mime of powerpoint files in 64 bits version of php. Il
works with 32 bits version.
Test script:
---------------
$finfo = finfo_open(FILEINFO_MIME_TYPE);
$mime = finfo_file($finfo, 'D:/exemple.ppt');
finfo_close($finfo);
echo($mime);
Expected result:
----------------
application/vnd.ms-powerpoint
Actual result:
--------------
Crash
------------------------------------------------------------------------
--
Edit this bug report at https://bugs.php.net/bug.php?id=66307&edit=1