ID:               37602
 User updated by:  olek at neurosoft dot pl
 Reported By:      olek at neurosoft dot pl
 Status:           Open
-Bug Type:         Reproducible crash
+Bug Type:         COM related
 Operating System: Windows
 PHP Version:      5.1.4
 New Comment:

I suppose this bug belongs to "COM related" category rather than
"Reproducible crash". Sorry for my mistake.


Previous Comments:
------------------------------------------------------------------------

[2006-05-26 14:37:23] olek at neurosoft dot pl

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 this bug report at http://bugs.php.net/?id=37602&edit=1

Reply via email to