[xslt] Segfault with CDATA


I'm getting segfaults with xsltproc on my website.
Here is a simple test case with as little code as possible to produce 
the error.

/===== begin style.xsl =====
<?xml version='1.0' encoding="UTF-8"?>

<xsl:stylesheet version="1.0" 
<xsl:output method="xml" media-type="text/html"
  doctype-public="-//W3C//DTD XHTML 1.1//EN"
  indent="yes" encoding="UTF-8" />

<xsl:template match="/">

<xsl:text disable-output-escaping="yes">
<![CDATA[ ]]>


\===== end style.xsl =====

Then if I do:

18:48 laug@horus ~/sitevia/site% xsltproc style.xsl aaa
warning: failed to load external entity "aaa"
unable to parse aaa
zsh: segmentation fault  xsltproc style.xsl aaa

I am using this version of the software:

19:25 laug@horus ~/xsltproc% xsltproc -V
Using libxml 20602, libxslt 10033 and libexslt 722
xsltproc was compiled against libxml 20511, libxslt 10033 and libexslt 722
libxslt 10033 was compiled against libxml 20511
libexslt 722 was compiled against libxml 20511

Thank you.

[Date Prev][Date Next]   [Thread Prev][Thread Next]   [Thread Index] [Date Index] [Author Index]