1
0
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:
Daniel Veillard
2006-03-29 10:17:37 +00:00
parent a051b16dea
commit bdd98c131b
2 changed files with 7 additions and 1 deletions

View File

@@ -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

View File

@@ -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) &&