Re: [xslt] bug in templates.c
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Subject: Re: [xslt] bug in templates.c
- Date: Fri, 20 Sep 2002 04:56:09 -0400
On Thu, Sep 19, 2002 at 04:50:26PM -0600, Vakoc, Mark wrote:
>
> The following change introduces a mem fault in
> xsltAttrTemplateValueProcessNode
>
> http://cvs.gnome.org/bonsai/cvsquery.cgi?treeid=default&branch=HEAD&branchty
> pe=match&dir=&file=&filetype=match&who=veillard&whotype=match&sortby=Date&ho
> urs=2&date=explicit&mindate=08%2F21%2F2002+15%3A29&maxdate=08%2F21%2F2002+15
> %3A29&cvsroot=%2Fcvs%2Fgnome
>
> It assumes the function parameter 'node' is always valid, but when called
> from xsltAttrTemplateValueProcess this parameter is always NULL.
>
> The simple attached path checks that node is valid before using it. Not
> regression tested bug it fixes my crash!
Okay, changed !
thanks
Daniel
--
Daniel Veillard | Red Hat Network https://rhn.redhat.com/
veillard@redhat.com | libxml GNOME XML XSLT toolkit http://xmlsoft.org/
http://veillard.com/ | Rpmfind RPM search engine http://rpmfind.net/
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]