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

From: Date: Tue, 17 Dec 2013 18:19:05 +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-183372@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:         aharvey@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
 Block user comment: N
 Private report:     N

 New Comment:

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.




Previous Comments:
------------------------------------------------------------------------
[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 (#183372) next »