php-src/ext/dom
Niels Dossche 243fa9c143
Fix GH-12616: DOM: Removing XMLNS namespace node results in invalid default: prefix
The namespace data is freed and set to NULL, but there remain references
to the namespace declaration nodes. This (rightfully) confuses libxml2
because its invariants are broken. We also have to remove all remaining
references from the subtree. This fixes the data corruption bug.

Closes GH-12681.
2023-11-22 20:39:30 -06:00
..
tests Fix GH-12616: DOM: Removing XMLNS namespace node results in invalid default: prefix 2023-11-22 20:39:30 -06:00
attr.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
cdatasection.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
characterdata.c Fix empty argument cases for DOMParentNode methods 2023-07-24 18:58:39 +02:00
comment.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
config.m4 [RFC] Implement new DOM Living Standard APIs in ext/dom 2020-02-28 16:13:39 +01:00
config.w32 [RFC] Implement new DOM Living Standard APIs in ext/dom 2020-02-28 16:13:39 +01:00
CREDITS
document.c Fix GH-12702: libxml2 2.12.0 issue building from src 2023-11-22 20:39:30 -06:00
documentfragment.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
documenttype.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
dom_ce.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
dom_iterators.c Fixed some spaces used instead of tabs 2021-06-29 11:30:26 +02:00
dom_properties.h Make a few unuseful DOMEntity properties readonly (#7406) 2021-08-26 10:37:45 +02:00
domexception.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
domexception.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
domimplementation.c Merge branch 'PHP-8.0' into PHP-8.1 2021-11-14 23:29:59 -08:00
element.c Fix GH-12616: DOM: Removing XMLNS namespace node results in invalid default: prefix 2023-11-22 20:39:30 -06:00
entity.c Fix DOMEntity field getter bugs 2023-07-24 18:55:51 +02:00
entityreference.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
namednodemap.c Fix #80332: Completely broken array access functionality with DOMNamedNodeMap 2023-06-18 14:59:19 +02:00
node.c Fix GH-8996: DOMNode serialization on PHP ^8.1 2023-10-09 22:10:05 +02:00
nodelist.c Fix #80332: Completely broken array access functionality with DOMNamedNodeMap 2023-06-18 14:59:19 +02:00
notation.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
parentnode.c Fix segfault when DOMParentNode::prepend() is called when the child disappears 2023-08-08 20:06:39 +02:00
php_dom_arginfo.h Fix GH-8996: DOMNode serialization on PHP ^8.1 2023-10-09 22:10:05 +02:00
php_dom.c Restore old namespace reconciliation behaviour 2023-09-27 22:32:01 +02:00
php_dom.h Fix #80332: Completely broken array access functionality with DOMNamedNodeMap 2023-06-18 14:59:19 +02:00
php_dom.stub.php Fix GH-8996: DOMNode serialization on PHP ^8.1 2023-10-09 22:10:05 +02:00
processinginstruction.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
text.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
xml_common.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
xpath.c Fix validation logic of php:function() callbacks in dom and xsl 2023-11-02 20:28:55 +01:00