From e5d84961bb4ec32043ff5892d4cff01bf907c243 Mon Sep 17 00:00:00 2001 From: Rhodri James Date: Thu, 2 Mar 2017 19:58:54 +0000 Subject: [PATCH] Fix error reporting in external entity test handler --- expat/tests/runtests.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/expat/tests/runtests.c b/expat/tests/runtests.c index 2d6ea36b..01e92bb3 100644 --- a/expat/tests/runtests.c +++ b/expat/tests/runtests.c @@ -1180,7 +1180,7 @@ external_entity_loader(XML_Parser parser, strlen(test_data->parse_text), XML_TRUE) == XML_STATUS_ERROR) { - xml_failure(parser); + xml_failure(extparser); return XML_STATUS_ERROR; } XML_ParserFree(extparser);