diff --git a/ChangeLog b/ChangeLog index e9e04d70..89bc8813 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Mon Apr 29 17:22:08 CEST 2002 Daniel Veillard + + * libxslt/variables.c: better attempt to fix the problem in + xsltProcessUserParamInternal reported by Babak Vahedipour-Kunze + Sun Apr 28 17:53:23 CEST 2002 Igor Zlatkovic * win32/dsp/*.dsp: Removed obsolete macros diff --git a/libxslt/variables.c b/libxslt/variables.c index 23c1919f..181590fa 100644 --- a/libxslt/variables.c +++ b/libxslt/variables.c @@ -778,6 +778,9 @@ xsltProcessUserParamInternal(xsltTransformContextPtr ctxt, ncname = xmlStrdup(name); } + if (ncname == NULL) + return (-1); + /* * Do the evaluation if @eval is non-zero. */