Bug #66307 [Opn->Fbk]: Fileinfo crashes with powerpoint files

From: Date: Thu, 02 Jan 2014 13:55:32 +0000
Subject: Bug #66307 [Opn->Fbk]: Fileinfo crashes with powerpoint files
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-183548@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:             Open
+Status:             Feedback
 Type:               Bug
 Package:            Reproducible crash
 Operating System:   Windows 7 SP1 64bits
 PHP Version:        5.5.7
-Assigned To:        
+Assigned To:        ab
 Block user comment: N
 Private report:     N

 New Comment:

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


Previous Comments:
------------------------------------------------------------------------
[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


Thread (8 messages)

« previous php.bugs (#183548) next »