php.net |  support |  documentation |  report a bug |  advanced search |  search howto |  statistics |  random bug |  login
Bug #29599 domxml_error segfaults another apache module
Submitted: 2004-08-10 15:03 UTC Modified: 2004-08-13 14:21 UTC
From: thomas dot jarosch at intra2net dot com Assigned:
Status: Closed Package: DOM XML related
PHP Version: 4.3.8 OS: Linux
Private report: No CVE-ID:
 [2004-08-10 15:03 UTC] thomas dot jarosch at intra2net dot com

Patches

Add a Patch

Pull Requests

Add a Pull Request

History

AllCommentsChangesGit/SVN commitsRelated reports
 [2004-08-10 16:15 UTC] chregu@php.net
The problem is fixed in PHP 5

Don't know, if "we" (meaning Rob) backport that to PHP 4...

Depends on how much work it is, I assume.
 [2004-08-11 10:28 UTC] thomas dot jarosch at intra2net dot com
Well, if it's not too much work, a backport would be nice. 
IMP v3 (webmail) doesn't support PHP5 yet, but I currently 
don't need domxml support and therefore disabled it. 
 
Thomas
 [2004-08-13 12:24 UTC] chregu@php.net
A fix is made, not committed yet.

If you have the possibility, could you check 
http://trash.chregu.tv/php_domxml.diff.txt

and see if it solves the problem?


 [2004-08-13 13:23 UTC] thomas dot jarosch at intra2net dot com
"Another job well done" :-) Works fine here! 
 
Though I'm curios where the 
xmlThrDefSetGenericErrorFunction is gone to. Won't this 
hurt threaded apaches or does the PHP_RINIT_FUNCTION take 
care of this?
 [2004-08-13 13:28 UTC] chregu@php.net
according to rob, it's not needed anymore (he did the patch anyway..)


 [2004-08-13 13:38 UTC] thomas dot jarosch at intra2net dot com
Ok. Thanks for the patch again! 
 
Thomas
 [2004-08-13 14:21 UTC] rrichards@php.net
This bug has been fixed in CVS.

Snapshots of the sources are packaged every three hours; this change
will be in the next snapshot. You can grab the snapshot at
http://snaps.php.net/.
 
Thank you for the report, and for helping us make PHP better.

xmlThrDefSetGenericErrorFunction no longer needed due to placement of the set error functions
 
PHP Copyright © 2001-2014 The PHP Group
All rights reserved.
Last updated: Sun Apr 20 05:03:19 2014 UTC