Re: [xslt] libxslt 1.0.24 bus error in make check
- From: Daniel Veillard <veillard redhat com>
- To: xslt gnome org
- Cc: dl-pdsupport ubsw com
- Subject: Re: [xslt] libxslt 1.0.24 bus error in make check
- Date: Fri, 17 Jan 2003 11:47:21 -0500
On Fri, Jan 17, 2003 at 03:54:03PM +0000, dl-pdsupport@ubsw.com wrote:
> I'm getting a "bus error" when running 'make check' for libxslt 1.0.24.
> ('make check' for libxslt 1.0.20 in the same environment worked fine)
[...]
> Core was generated by `xsltproc stand-2.7-1.xml'.
[...]
> #0 0xef7659cc in xsltFreeKeyDefList (keyd=0xffffffff) at keys.c:130
> 130 xsltFreeKeyDef(cur);
> (gdb) bt
> #0 0xef7659cc in xsltFreeKeyDefList (keyd=0xffffffff) at keys.c:130
> #1 0xef758870 in xsltFreeStylesheet (sheet=0x3cb98) at xslt.c:470
double-free of the stylesheet in the very specific case of a standalone
stylesheet (i.e. the stylesheet and the document are merged). This is
an bug in the front-end application, not in the library. Patch enclosed,
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/
? xsltproc/.memdump
? xsltproc/200107.html
? xsltproc/Kasparov-Karpov.xml
? xsltproc/c.xsl
? xsltproc/chess.xsl
? xsltproc/datebook.html
? xsltproc/datebook.log
? xsltproc/datebook.xml
? xsltproc/datebook.xsl
? xsltproc/gmon.out
? xsltproc/identity.xsl
? xsltproc/libxslt_tutorial
? xsltproc/libxslt_tutorial.c
? xsltproc/profile.chess
? xsltproc/res
? xsltproc/res2
? xsltproc/return
? xsltproc/test.docbook
? xsltproc/test.xml
? xsltproc/test.xsl
? xsltproc/test4.xml
? xsltproc/test4.xsl
? xsltproc/tmp
? xsltproc/tst.html
? xsltproc/tst.xml
? xsltproc/tst.xsl
? xsltproc/vklad.xsl
? xsltproc/x.xml
? xsltproc/xsltproc.diff
? xsltproc/xsltproc.noattr
? xsltproc/xsltproc.patch
Index: xsltproc/xsltproc.c
===================================================================
RCS file: /cvs/gnome/libxslt/xsltproc/xsltproc.c,v
retrieving revision 1.42
diff -c -r1.42 xsltproc.c
*** xsltproc/xsltproc.c 10 Jan 2003 09:35:13 -0000 1.42
--- xsltproc/xsltproc.c 17 Jan 2003 16:43:09 -0000
***************
*** 765,770 ****
--- 765,771 ----
/* it is an embedded stylesheet */
xsltProcess(style, cur, argv[i]);
xsltFreeStylesheet(cur);
+ cur = NULL;
goto done;
}
cur = xsltParseStylesheetDoc(style);
[
Date Prev][
Date Next] [
Thread Prev][
Thread Next]
[
Thread Index]
[
Date Index]
[
Author Index]