#35138 [Opn->Bgs]: Coredump on validation of empty domdocument

From: Date: Mon, 07 Nov 2005 12:42:30 +0000
Subject: #35138 [Opn->Bgs]: Coredump on validation of empty domdocument
References: 1  Groups: php.bugs 
Request: Send a blank email to php-bugs+get-87750@lists.php.net to get a copy of this message
ID: 35138 Updated by: rrichards@php.net Reported By: kpisman at gmail dot com -Status: Open +Status: Bogus Bug Type: DOM XML related Operating System: FreeBSD 6.0 PHP Version: 5.0.5 New Comment: Sorry, but your problem does not imply a bug in PHP itself. For a list of more appropriate places to ask for help using PHP, please visit http://www.php.net/support.php as this bug system is not the appropriate forum for asking support questions. Due to the volume of reports we can not explain in detail here why your report is not a bug. The support channels will be able to provide an explanation for you. Thank you for your interest in PHP. not PHP issue bug in libxml schema error handling Previous Comments: ------------------------------------------------------------------------ [2005-11-07 13:34:27] kpisman at gmail dot com Description: ------------ Segmentation fult when empy domDocument is validated with schema. Please note, this bug is may be potential way for low-bandwith DoS attack for any service, that is validating input with schma. Reproduce code: --------------- <? $myDom=new DomDocument(); $myDom->schemaValidate('http://www.w3.org/TR/xmldsig-core/xmldsig-core-schema.xsd'); ?> Expected result: ---------------- method must return false, excution must be continued. Actual result: -------------- [pisman@nothing]~/testsys]php ff.php zsh: segmentation fault (core dumped) php ff.php bt outpuut is seems like infinite recursion. ------------------------------------------------------------------------ -- Edit this bug report at http://bugs.php.net/?id=35138&edit=1

« previous php.bugs (#87750) next »