ID:               37602
 Updated by:       [EMAIL PROTECTED]
 Reported By:      olek at neurosoft dot pl
-Status:           Open
+Status:           Assigned
 Bug Type:         COM related
 Operating System: Windows
 PHP Version:      5.1.4
-Assigned To:      
+Assigned To:      edink
 New Comment:

Edin, the patch looks good, but I don't think I can test in on Linux.
Check it out, please.


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

[2006-05-29 14:25:02] olek at neurosoft dot pl

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

------------------------------------------------------------------------

[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