From:             thomas dot jarosch at intra2net dot com
Operating system: linux
PHP version:      5.2.6
PHP Bug Type:     DOM XML related
Bug description:  dom extension segfaults because of another apache module

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 bug report at http://bugs.php.net/?id=45948&edit=1
-- 
Try a CVS snapshot (PHP 5.2): 
http://bugs.php.net/fix.php?id=45948&r=trysnapshot52
Try a CVS snapshot (PHP 5.3): 
http://bugs.php.net/fix.php?id=45948&r=trysnapshot53
Try a CVS snapshot (PHP 6.0): 
http://bugs.php.net/fix.php?id=45948&r=trysnapshot60
Fixed in CVS:                 http://bugs.php.net/fix.php?id=45948&r=fixedcvs
Fixed in release:             
http://bugs.php.net/fix.php?id=45948&r=alreadyfixed
Need backtrace:               http://bugs.php.net/fix.php?id=45948&r=needtrace
Need Reproduce Script:        http://bugs.php.net/fix.php?id=45948&r=needscript
Try newer version:            http://bugs.php.net/fix.php?id=45948&r=oldversion
Not developer issue:          http://bugs.php.net/fix.php?id=45948&r=support
Expected behavior:            http://bugs.php.net/fix.php?id=45948&r=notwrong
Not enough info:              
http://bugs.php.net/fix.php?id=45948&r=notenoughinfo
Submitted twice:              
http://bugs.php.net/fix.php?id=45948&r=submittedtwice
register_globals:             http://bugs.php.net/fix.php?id=45948&r=globals
PHP 4 support discontinued:   http://bugs.php.net/fix.php?id=45948&r=php4
Daylight Savings:             http://bugs.php.net/fix.php?id=45948&r=dst
IIS Stability:                http://bugs.php.net/fix.php?id=45948&r=isapi
Install GNU Sed:              http://bugs.php.net/fix.php?id=45948&r=gnused
Floating point limitations:   http://bugs.php.net/fix.php?id=45948&r=float
No Zend Extensions:           http://bugs.php.net/fix.php?id=45948&r=nozend
MySQL Configuration Error:    http://bugs.php.net/fix.php?id=45948&r=mysqlcfg

Reply via email to