php-src/ext/xmlwriter
Niels Dossche 11a1feb0d7
Fix missing check for xmlTextWriterEndElement
xmlTextWriterEndElement returns -1 if the call fails. There was already
a check for retval, but the return value wasn't assigned to retval. The
other caller of xmlTextWriterEndElement is in
xmlwriter_write_element_ns, which does the check correctly.

Closes GH-10324

Signed-off-by: George Peter Banyard <girgias@php.net>
2023-01-15 15:34:43 +00:00
..
tests Prefer EXPECT over EXPECTF 2021-06-29 17:13:02 +02:00
config.m4 Normalize comments in *nix build system m4 files 2019-05-12 18:43:03 +02:00
config.w32 Sync leading and final newlines in source code files 2018-10-14 12:56:38 +02:00
CREDITS
php_xmlwriter.c Fix missing check for xmlTextWriterEndElement 2023-01-15 15:34:43 +00:00
php_xmlwriter.h Update http->https in license (#6945) 2021-05-06 12:16:35 +02:00
php_xmlwriter.stub.php Declare tentative return types for ext/xmlwriter 2021-05-25 19:15:18 +02:00
php_xmlwriter_arginfo.h Declare tentative return types for ext/xmlwriter 2021-05-25 19:15:18 +02:00