diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-05-10 18:21:45 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-05-10 18:21:45 +0000 |
commit | 894be3f23429b5aef8330506d0d2655ade4e132f (patch) | |
tree | 473cf0debf04d0b3d8d36caed049e75294eba7ce | |
parent | 876e304e8836c69eb623f6d9bb6a1dd0a6c9129a (diff) | |
download | libxslt-894be3f23429b5aef8330506d0d2655ade4e132f.tar.gz libxslt-894be3f23429b5aef8330506d0d2655ade4e132f.tar.bz2 libxslt-894be3f23429b5aef8330506d0d2655ade4e132f.zip |
fixed a segfault introduced with the RVT handling change, bug #112703 .
* libxslt/transform.c: fixed a segfault introduced with the RVT
handling change, bug #112703 .
Daniel
-rw-r--r-- | ChangeLog | 5 | ||||
-rw-r--r-- | libxslt/transform.c | 1 |
2 files changed, 6 insertions, 0 deletions
@@ -1,3 +1,8 @@ +Sat May 10 14:19:14 EDT 2003 Daniel Veillard <daniel@veillard.com> + + * libxslt/transform.c: fixed a segfault introduced with the RVT + handling change, bug #112703 . + Sat May 10 13:05:21 EDT 2003 Daniel Veillard <daniel@veillard.com> * libxslt/xslt.c: make sure stylesheet compilation errors diff --git a/libxslt/transform.c b/libxslt/transform.c index 7e6236a3..46cc3b63 100644 --- a/libxslt/transform.c +++ b/libxslt/transform.c @@ -3016,6 +3016,7 @@ xsltApplyTemplates(xsltTransformContextPtr ctxt, xmlNodePtr node, case XML_TEXT_NODE: if ((IS_BLANK_NODE(cur)) && (cur->parent != NULL) && + (cur->parent->type == XML_ELEMENT_NODE) && (ctxt->style->stripSpaces != NULL)) { const xmlChar *val; |