6.0.0-alpha12
6/9/25

[#5181] Horde_DOM crash with PHP 4.4.6
Summary Horde_DOM crash with PHP 4.4.6
Queue Horde Framework Packages
Queue Version HEAD
Type Bug
State Resolved
Priority 1. Low
Owners
Requester thomas.jarosch (at) intra2net (dot) com
Created 03/29/2007 (6647 days ago)
Due
Updated 03/30/2007 (6646 days ago)
Assigned
Resolved 03/30/2007 (6646 days ago)
Github Issue Link
Github Pull Request
Milestone
Patch No

History
03/30/2007 03:33:54 PM Chuck Hagenbuch Comment #2
State ⇒ Resolved
Reply to this comment
Committed, thanks!
03/29/2007 01:59:48 PM thomas (dot) jarosch (at) intra2net (dot) com Comment #1
State ⇒ Unconfirmed
Priority ⇒ 1. Low
Type ⇒ Bug
Summary ⇒ Horde_DOM crash with PHP 4.4.6
Queue ⇒ Horde Framework Packages
New Attachment: framework-DOM-fix-segfault.php Download
Reply to this comment
Hello,



the Horde_DOM wrapper around PHP's domxml functions appear to segfault 
PHP 4.4.6 if I call it with the "xml" parameter. The root of all evil 
seems to be the domxml_xmltree function. If you load the XML from 
file, we already use domxml_open_file, so I've changed domxml_xmltree 
to domxml_open_mem to be more consistent and the crashes are gone, too.



Cheers,

Thomas


Saved Queries