After an evaluation, GNOME has moved from Bugzilla to GitLab. Learn more about GitLab.
No new issues can be reported in GNOME Bugzilla anymore.
To report an issue in a GNOME project, go to GNOME GitLab.
Do not go to GNOME Gitlab for: Bluefish, Doxygen, GnuCash, GStreamer, java-gnome, LDTP, NetworkManager, Tomboy.
Bug 330772 - Stack overflow crash for infinitely recursive templates
Stack overflow crash for infinitely recursive templates
Status: RESOLVED FIXED
Product: libxslt
Classification: Platform
Component: general
1.1.14
Other All
: Normal normal
: ---
Assigned To: Daniel Veillard
libxml QA maintainers
Depends on:
Blocks:
 
 
Reported: 2006-02-11 10:12 UTC by Björn Höhrmann
Modified: 2006-02-11 13:41 UTC
See Also:
GNOME target: ---
GNOME version: ---


Attachments
XML input file (59 bytes, application/xml)
2006-02-11 10:13 UTC, Björn Höhrmann
Details
XSLT input file (894 bytes, application/xml)
2006-02-11 10:13 UTC, Björn Höhrmann
Details
Standalone version of the XSLT (700 bytes, application/xml)
2006-02-11 13:41 UTC, Björn Höhrmann
Details

Description Björn Höhrmann 2006-02-11 10:12:44 UTC
Using libxml 20619CVS2407, libxslt 10114CVS1011 and libexslt 812CVS1011
xsltproc was compiled against libxml 20619, libxslt 10114 and libexslt 812
libxslt 10114 was compiled against libxml 20619
libexslt 812 was compiled against libxml 20619

Applying the XSLT to the XML crashes xsltproc; it should exit with an error at some point instead.
Comment 1 Björn Höhrmann 2006-02-11 10:13:25 UTC
Created attachment 59127 [details]
XML input file
Comment 2 Björn Höhrmann 2006-02-11 10:13:49 UTC
Created attachment 59128 [details]
XSLT input file
Comment 3 Daniel Veillard 2006-02-11 11:16:39 UTC
Right. Could you provide a standalone example not fetching an external stylesheet
on a remote server ?

  thanks,

Daniel
Comment 4 Daniel Veillard 2006-02-11 12:15:00 UTC
Okay, fixed in CVS, but no standalone regression test yet added to
the test suite,

Daniel
Comment 5 Björn Höhrmann 2006-02-11 13:41:34 UTC
Created attachment 59134 [details]
Standalone version of the XSLT

I've replaced math:power with a trivial template that just recurses. This still crashes the cited version, so I assume this is the same bug. (I didn't check the CVS version).