php-src/ext/dom
Niels Dossche 8e8d5ce240 Fix crash in adoptNode with attribute references
I forgot to also update the document reference of attributes, so when
there is no document reference anymore from a variable, but still an
attribute, this can crash. Fix it by also updating the document
references for attributes.

Closes GH-13002.
2023-12-23 16:58:11 +01:00
..
tests Fix crash in adoptNode with attribute references 2023-12-23 16:58:11 +01:00
attr.c Merge branch 'PHP-8.2' 2023-08-07 19:52:04 +02:00
cdatasection.c Fix manually calling __construct() on DOM classes 2023-08-07 19:37:47 +02:00
characterdata.c Merge branch 'PHP-8.2' 2023-07-24 19:05:16 +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 crash in adoptNode with attribute references 2023-12-23 16:58:11 +01:00
documentfragment.c Merge branch 'PHP-8.2' 2023-08-07 19:52:04 +02:00
documenttype.c Implement iteration cache, item cache and length cache for node list iteration (#11330) 2023-06-03 00:13:14 +02:00
dom_ce.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
dom_iterators.c Fix compile error with -Werror=incompatible-function-pointer-types and old libxml2 2023-09-30 00:12:20 +02:00
dom_properties.h Fix build on Windows 2023-07-17 14:28:06 +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 crash when toggleAttribute() is used without a document 2023-12-22 21:12:59 +01: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 Merge branch 'PHP-8.2' 2023-06-18 15:21:12 +02:00
node.c Merge branch 'PHP-8.2' into PHP-8.3 2023-10-09 22:12:05 +02:00
nodelist.c Merge branch 'PHP-8.2' 2023-06-18 15:21:12 +02:00
notation.c Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
parentnode.c Fix broken cache invalidation with deallocated and reallocated document node 2023-10-01 17:06:02 +02:00
php_dom_arginfo.h Merge branch 'PHP-8.2' into PHP-8.3 2023-10-09 22:12:05 +02:00
php_dom.c Fix GH-12870: Creating an xmlns attribute results in a DOMException 2023-12-07 22:42:32 +01:00
php_dom.h Fix GH-12870: Creating an xmlns attribute results in a DOMException 2023-12-07 22:42:32 +01:00
php_dom.stub.php Merge branch 'PHP-8.2' into PHP-8.3 2023-10-09 22:12:05 +02:00
processinginstruction.c Remove unnecessary invalidation from processing instructions 2023-08-18 18:06:04 +02:00
text.c Merge branch 'PHP-8.2' 2023-08-07 19:52:04 +02:00
xml_common.h Cleanup macro usage in ext/dom and ext/libxml 2023-07-03 21:32:48 +02:00
xpath.c Fix validation logic of php:function() callbacks in dom and xsl 2023-11-02 20:28:55 +01:00