|
php.net | support | documentation | report a bug | advanced search | search howto | statistics | random bug | login |
PatchesPull RequestsHistoryAllCommentsChangesGit/SVN commits
[2019-05-17 09:04 UTC] sjon@php.net
-Summary: AppCrash when accessing properties of DOMDocumentType
+Summary: segfault when accessing properties of DOMDocumentType
-Status: Open
+Status: Verified
[2019-05-17 09:04 UTC] sjon@php.net
[2019-05-17 09:57 UTC] cmb@php.net
[2019-05-17 10:26 UTC] ph dot fritsche at gmail dot com
[2019-05-17 11:25 UTC] cmb@php.net
-Assigned To:
+Assigned To: cmb
[2019-05-17 11:34 UTC] cmb@php.net
[2019-05-17 11:34 UTC] cmb@php.net
-Status: Verified
+Status: Closed
|
|||||||||||||||||||||||||||
Copyright © 2001-2025 The PHP GroupAll rights reserved. |
Last updated: Fri Oct 24 23:00:01 2025 UTC |
Description: ------------ PHP crashes when accessing properties of DOMDocumentType after loading a malformed declaration. code: c0000005 offset: 00000000002985c3 Test script: --------------- <?php $htm = "<!DOCTYPE><html></html>"; $dom = new DOMDocument; $dom->loadHTML($htm); $dom->doctype; var_dump("i'm still here"); $dom->doctype->name; var_dump("i'm not");