From: olek at neurosoft dot pl Operating system: Windows PHP version: 5.1.4 PHP Bug Type: Reproducible crash Bug description: crash in COM_DOTNET when releasing typelib in php_com_typelibrary_dtor
Description: ------------ Crash caused by bug in function: php_com_typelibrary_dtor in module: ext/com_dotnet/com_typeinfo.c Patch is following: --- php-5.1.4/ext/com_dotnet/com_typeinfo.c 2006-01-01 12:50:00.000000000 +0100 +++ php_build/php-5.1.4/ext/com_dotnet/com_typeinfo.c 2006-05-26 15:57:02.000000000 +0200 @@ -220,7 +220,7 @@ /* Type-library stuff */ void php_com_typelibrary_dtor(void *pDest) { - ITypeLib *Lib = *(ITypeLib**)pDest; + ITypeLib *Lib = (ITypeLib*)pDest; ITypeLib_Release(Lib); } -- Edit bug report at http://bugs.php.net/?id=37602&edit=1 -- Try a CVS snapshot (PHP 4.4): http://bugs.php.net/fix.php?id=37602&r=trysnapshot44 Try a CVS snapshot (PHP 5.2): http://bugs.php.net/fix.php?id=37602&r=trysnapshot52 Try a CVS snapshot (PHP 6.0): http://bugs.php.net/fix.php?id=37602&r=trysnapshot60 Fixed in CVS: http://bugs.php.net/fix.php?id=37602&r=fixedcvs Fixed in release: http://bugs.php.net/fix.php?id=37602&r=alreadyfixed Need backtrace: http://bugs.php.net/fix.php?id=37602&r=needtrace Need Reproduce Script: http://bugs.php.net/fix.php?id=37602&r=needscript Try newer version: http://bugs.php.net/fix.php?id=37602&r=oldversion Not developer issue: http://bugs.php.net/fix.php?id=37602&r=support Expected behavior: http://bugs.php.net/fix.php?id=37602&r=notwrong Not enough info: http://bugs.php.net/fix.php?id=37602&r=notenoughinfo Submitted twice: http://bugs.php.net/fix.php?id=37602&r=submittedtwice register_globals: http://bugs.php.net/fix.php?id=37602&r=globals PHP 3 support discontinued: http://bugs.php.net/fix.php?id=37602&r=php3 Daylight Savings: http://bugs.php.net/fix.php?id=37602&r=dst IIS Stability: http://bugs.php.net/fix.php?id=37602&r=isapi Install GNU Sed: http://bugs.php.net/fix.php?id=37602&r=gnused Floating point limitations: http://bugs.php.net/fix.php?id=37602&r=float No Zend Extensions: http://bugs.php.net/fix.php?id=37602&r=nozend MySQL Configuration Error: http://bugs.php.net/fix.php?id=37602&r=mysqlcfg