From: Rhodri James Date: Tue, 22 Aug 2017 14:41:15 +0000 (+0100) Subject: Fix record_element_start_handler() to use XML_Char correctly X-Git-Tag: R_2_2_5~24^2~80 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=7e726dc3864405abf4fa68abd108b471b606b2e7;p=libexpat Fix record_element_start_handler() to use XML_Char correctly --- diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 679f705a..156608fe 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -4870,7 +4870,7 @@ record_element_start_handler(void *userData, const XML_Char *name, const XML_Char **UNUSED_P(atts)) { - CharData_AppendString((CharData *)userData, name); + CharData_AppendXMLChars((CharData *)userData, name, xcstrlen(name)); } START_TEST(test_nested_groups)