]> git.kaiwu.me - njs.git/commit
XML: guard against content allocation failure
authorDmitry Volyntsev <xeioex@nginx.com>
Tue, 22 Sep 2026 04:03:48 +0000 (21:03 -0700)
committerDmitry Volyntsev <xeioexception@gmail.com>
Fri, 25 Sep 2026 23:00:29 +0000 (16:00 -0700)
commit16f6a5b16d2bcf3ebbeed72ea4b949416c64289f
treef7dc3c38d7e37a3878c893c89a94fe9a808d75bf
parent1def2b93ca51d50073cce223ae2531ab049119dd
XML: guard against content allocation failure

Report a memory error when libxml cannot allocate node content instead of
passing a NULL pointer to the string conversion path.
external/njs_xml_module.c