mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-11-26 04:43:05 +03:00
Charles Hardin pointed an OOM condition where a NULL pointer could be
* libxslt/transform.c: Charles Hardin pointed an OOM condition where a NULL pointer could be dereferenced, closes #336394 Daniel
This commit is contained in:
@@ -1,3 +1,8 @@
|
||||
Wed Mar 29 12:16:41 CEST 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libxslt/transform.c: Charles Hardin pointed an OOM condition where
|
||||
a NULL pointer could be dereferenced, closes #336394
|
||||
|
||||
Fri Mar 10 12:49:18 CET 2006 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* libexslt/crypto.c libexslt/date.c libexslt/saxon.c
|
||||
|
||||
@@ -638,6 +638,7 @@ xsltCopyTextString(xsltTransformContextPtr ctxt, xmlNodePtr target,
|
||||
return(xsltAddTextString(ctxt, target->last, string, len));
|
||||
}
|
||||
copy = xmlNewTextLen(string, len);
|
||||
if (copy != NULL)
|
||||
copy->name = xmlStringTextNoenc;
|
||||
} else {
|
||||
if ((target != NULL) && (target->last != NULL) &&
|
||||
|
||||
Reference in New Issue
Block a user