#36542 [NEW]: Flash file causes crash when using getimagesize()
| From: | ogs22 at cam dot ac dot uk | Date: | Mon, 27 Feb 2006 13:03:24 +0000 |
| Subject: | #36542 [NEW]: Flash file causes crash when using getimagesize() | ||
| Groups: | php.bugs | ||
| Request: | Send a blank email to php-bugs+get-93702@lists.php.net to get a copy of this message | ||
From: ogs22 at cam dot ac dot uk
Operating system:
PHP version: 5.1.2
PHP Bug Type: Reproducible crash
Bug description: Flash file causes crash when using getimagesize()
Description:
------------
Tested on php5.1.2 on FreeBSD and MacOSX 10.4.5 both running
apache 1.3.3
using getimagesize on certain swf files causes crash
test file is http://maths.org/~ogs22/ConstantDrop.swf
it is a version 8 flash file - other version 8 files seem OK.
Reproduce code:
---------------
<?php
$file="/Users/ogs/ConstantDrop.swf";
$x=getimagesize($file);
print_r($x);
?>
Expected result:
----------------
Array ( [0] => 720 [1] => 576 [2] => 13 [3] => width="720"
height="576" [mime] => application/x-shockwave-flash )
Actual result:
--------------
causes
[Mon Feb 27 12:21:14 2006] [notice] child pid 19520 exit
signal Bus error (10)
to appear in apache error log
and nothing to appear in browser
--
Edit bug report at http://bugs.php.net/?id=36542&edit=1
--
Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=36542&r=trysnapshot44
Try a CVS snapshot (PHP 5.1): http://bugs.php.net/fix.php?id=36542&r=trysnapshot51
Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=36542&r=trysnapshot60
Fixed in CVS: http://bugs.php.net/fix.php?id=36542&r=fixedcvs
Fixed in release: http://bugs.php.net/fix.php?id=36542&r=alreadyfixed
Need backtrace: http://bugs.php.net/fix.php?id=36542&r=needtrace
Need Reproduce Script: http://bugs.php.net/fix.php?id=36542&r=needscript
Try newer version: http://bugs.php.net/fix.php?id=36542&r=oldversion
Not developer issue: http://bugs.php.net/fix.php?id=36542&r=support
Expected behavior: http://bugs.php.net/fix.php?id=36542&r=notwrong
Not enough info: http://bugs.php.net/fix.php?id=36542&r=notenoughinfo
Submitted twice: http://bugs.php.net/fix.php?id=36542&r=submittedtwice
register_globals: http://bugs.php.net/fix.php?id=36542&r=globals
PHP 3 support discontinued: http://bugs.php.net/fix.php?id=36542&r=php3
Daylight Savings: http://bugs.php.net/fix.php?id=36542&r=dst
IIS Stability: http://bugs.php.net/fix.php?id=36542&r=isapi
Install GNU Sed: http://bugs.php.net/fix.php?id=36542&r=gnused
Floating point limitations: http://bugs.php.net/fix.php?id=36542&r=float
No Zend Extensions: http://bugs.php.net/fix.php?id=36542&r=nozend
MySQL Configuration Error: http://bugs.php.net/fix.php?id=36542&r=mysqlcfg