Commit f76aadd3 authored by mahendra.n's avatar mahendra.n Committed by Nick Wellnhofer

Fix possible NULL pointer deref in preproc.c

Fixes bug #757617.

https://bugzilla.gnome.org/show_bug.cgi?id=757617
parent 698a23d4
......@@ -1305,7 +1305,8 @@ xsltGetQNameProperty(xsltStylesheetPtr style, xmlNodePtr inst,
if (prop == NULL) {
style->errors++;
} else {
*localName = prop;
if (localName)
*localName = prop;
if (hasProp)
*hasProp = 1;
if (URI != NULL) {
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment