summaryrefslogtreecommitdiff
path: root/xmlmodule.c
diff options
context:
space:
mode:
Diffstat (limited to 'xmlmodule.c')
-rw-r--r--xmlmodule.c2
1 files changed, 1 insertions, 1 deletions
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");