1
From: Gaurav <g.gupta@samsung.com>
2
Date: Tue, 18 Feb 2014 11:47:43 +0800
3
Subject: Avoid a possible NULL pointer dereference
5
For https://bugzilla.gnome.org/show_bug.cgi?id=708355
8
1 file changed, 1 insertion(+), 1 deletion(-)
10
diff --git a/xmlmodule.c b/xmlmodule.c
11
index 7fe5bc2..50ed666 100644
14
@@ -115,7 +115,7 @@ xmlModuleSymbol(xmlModulePtr module, const char *name, void **symbol)
18
- if ((NULL == module) || (symbol == NULL)) {
19
+ if ((NULL == module) || (symbol == NULL) || (name == NULL)) {
20
__xmlRaiseError(NULL, NULL, NULL, NULL, NULL, XML_FROM_MODULE,
21
XML_MODULE_OPEN, XML_ERR_FATAL, NULL, 0, 0,
22
NULL, NULL, 0, 0, "null parameter\n");