php-src/ext/xmlreader/tests
Niels Dossche 5c1249391b
Fix GH-16292: Segmentation fault in ext/xmlreader/php_xmlreader.c:1282
3 issues:
1) RETURN_NULL() was used via the macro NODE_GET_OBJ(), but the function
   returns false on failure and cannot return null according to its
   stub.
2) The struct layout of the different implementors of libxml only
   guarantees overlap between the node pointer and the document
   reference, so accessing the std zend_object may not work.
3) DOC_GET_OBJ() wasn't using ZSTR_VAL().

Closes GH-16307.
2024-10-08 20:54:07 +02:00
..
001.phpt
002.phpt
003-get-errors.phpt
003-mb.phpt
003-move-errors.phpt
003.phpt
004.phpt
005.phpt
006.phpt
007.phpt
008.phpt
009.phpt
010.phpt
011.phpt
012.dtd
012.phpt
012.xml
013.phpt
013.xsd
014.phpt Fix 'can not' in test data and in code comments 2021-10-05 09:51:58 +01:00
015-get-errors.phpt
015-move-errors.phpt
015.phpt
bug36743.phpt
bug42139.phpt
bug51936.phpt Migrate more SKIPIF -> EXTENSIONS (#7139) 2021-06-11 12:58:44 +02:00
bug64230.phpt Migrate more SKIPIF -> EXTENSIONS (#7139) 2021-06-11 12:58:44 +02:00
bug70309.phpt
bug71805.phpt
bug73053.phpt
bug73053.xml
bug73053.xsd
bug73246.phpt
bug74457.phpt
bug81521.phpt Add missing EXTENSION section to tests 2022-10-27 14:39:43 +01:00
dtdexample.dtd
expand.phpt
expand_error.phpt
gh14183.phpt Fix GH-14183: XMLReader::open() can't be overridden 2024-05-10 15:57:09 +02:00
gh16292.phpt Fix GH-16292: Segmentation fault in ext/xmlreader/php_xmlreader.c:1282 2024-10-08 20:54:07 +02:00
libxml_global_state_entity_loader_bypass.phpt Use EXTENSIONS instead of SKIPIF sections in *.phpt 2024-01-31 11:18:21 +01:00
next_basic.phpt
open_error.phpt
readString_basic.phpt
relaxNG.rng
relaxNG2.rng
relaxNG3.rng
schema-bad.xsd
schema-empty.xsd
setParserProperty_error.phpt
setSchema_error.phpt
static.phpt
XMLReaderBad_bug71805.xml
XMLReaderGood_bug71805.xml