From 2ee13d9e464a1f5daccaff58f5d09d36b7c4f667 Mon Sep 17 00:00:00 2001 From: Aron Xu Date: Mon, 21 Sep 2015 22:58:06 +0800 Subject: Revert "Imported Upstream version 2.9.1+dfsg1" This reverts commit 7300193becde71a344c8ac0973dc290fa24d800d. --- xmlmodule.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'xmlmodule.c') diff --git a/xmlmodule.c b/xmlmodule.c index 7fe5bc2..50ed666 100644 --- a/xmlmodule.c +++ b/xmlmodule.c @@ -115,7 +115,7 @@ xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol) { int rc = -1; - if ((NULL == module) || (symbol == NULL)) { + if ((NULL == module) || (symbol == NULL) || (name == NULL)) { __xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE, XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0, NULL, NULL, 0, 0, "null parameter\n"); -- cgit v1.2.3