1
0
mirror of https://github.com/php/php-src.git synced 2026-03-24 16:22:37 +01:00
Files
archived-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
..
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00
2021-06-11 11:57:42 +02:00