php-src/ext/dom
Christoph M. Becker a4aa4f9772 Fix bug #66502: DOM document dangling reference
When we decrement the refcount of a node's document, we state that we
won't need it anymore. Therefore we can *always* set the pointer to the
document to NULL, what avoids invalid memory accesses for some edge cases
as demonstrated with the PHPT.

Original patch provided by Sean Heelan.
2016-07-15 01:08:08 +02:00
..
examples Add charset, fixes the validate_on_parse test (confik) 2011-06-22 14:59:20 +00:00
tests Fix bug #66502: DOM document dangling reference 2016-07-15 01:08:08 +02:00
attr.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
cdatasection.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
characterdata.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
comment.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
config.m4 MFH: Fix some configure --help texts 2007-07-03 17:25:43 +00:00
config.w32 - add phpize support for windows, need a nmake install for now (nmake devel-pkg version is coming), works exactly the same as on unix, or should :) 2010-12-13 18:43:10 +00:00
CREDITS add CREDITS file 2003-06-05 19:12:07 +00:00
document.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
documentfragment.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
documenttype.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
dom_ce.h Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
dom_fe.h Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
dom_iterators.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
dom_properties.h Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
dom.dsp revert change #298288: Remove old dsp/dsw/makefile files 2010-04-28 14:41:51 +00:00
domconfiguration.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domerror.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domerrorhandler.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domexception.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domimplementation.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domimplementationlist.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domimplementationsource.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domlocator.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
domstringlist.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
element.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
entity.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
entityreference.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
namednodemap.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
namelist.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
node.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
nodelist.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
notation.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
php_dom.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
php_dom.h Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
processinginstruction.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
string_extend.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
text.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
TODO constructors throw DOMException 2004-05-16 10:30:16 +00:00
typeinfo.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
userdatahandler.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
xml_common.h Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00
xpath.c Happy new year (Update copyright to 2016) 2016-01-01 19:21:47 +02:00