#45948 [Opn->Fbk]: [PATCH] dom extension segfaults because of another apache module

From: Date: Sat, 30 Aug 2008 17:06:00 +0000
Subject: #45948 [Opn->Fbk]: [PATCH] dom extension segfaults because of another apache module
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-128558@lists.php.net to get a copy of this message
 ID:               45948
 Updated by:       jani@php.net
 Reported By:      thomas dot jarosch at intra2net dot com
-Status:           Open
+Status:           Feedback
 Bug Type:         DOM XML related
 Operating System: linux
 PHP Version:      5.2.6
 New Comment:

Please provide patches against HEAD, PHP_5_3 and PHP_5_2 branches.


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

[2008-08-29 15:52:42] thomas dot jarosch at intra2net dot com

The link somehow gets cropped by the bugtracker,
the filename is php-5.2.6-fix-libxmlpp-clash.patch

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

[2008-08-29 15:51:30] thomas dot jarosch at intra2net dot com

Description:
------------
Hello together,

like last time in bug #29599, another apache module is using
libxml2 and registering a global create/delete node callback.

Right now PHP crashes on our site while using the dom extension
because the callback still points to the other module. Guess libxml2
is to blame for providing -global- callbacks.

Attached patch makes sure everything is clean and shiny
when enter/leaving the request handled by PHP. The performance
impact should be close to nothing. Hope it's useful to someone else.

Link to patch:
http://www.intra2net.com/de/download/opensource/php-5.2.6-fix-

Thomas




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


-- 
Edit this bug report at http://bugs.php.net/?id=45948&edit=1



Thread (4 messages)

« previous php.bugs (#128558) next »