ID:               31809
 Updated by:       [EMAIL PROTECTED]
 Reported By:      it at lavtech dot ru
-Status:           Open
+Status:           Feedback
 Bug Type:         Reproducible crash
 Operating System: 2.4.19 GNU/Linux
 PHP Version:      5.0.3
 New Comment:

Thank you for this bug report. To properly diagnose the problem, we
need a backtrace to see what is happening behind the scenes. To
find out how to generate a backtrace, please read
http://bugs.php.net/bugs-generating-backtrace.php

Once you have generated a backtrace, please submit it to this bug
report and change the status back to "Open". Thank you for helping
us make PHP better.


Previous Comments:
------------------------------------------------------------------------

[2005-02-02 10:33:50] it at lavtech dot ru

Description:
------------
Using disable-output-escaping XSLT instruction attribute with "yes"
value causes Segmentation fault.

Reproduce code:
---------------
$stylesheetDocument = new DOMDocument();
$stylesheetDocument->load( 'php5test.xslt' ) || die('Unable to open
stylesheet');
$inputDocument = new DOMDocument();
$inputDocument->loadXML( '<?xml version="1.0"?><root/>' );
$xsltProcessor = new XSLTProcessor();
$xsltProcessor->importStylesheet( $stylesheetDocument );
$outputDocument = $xsltProcessor->transformToDoc( $inputDocument, true
);
php5test.xslt:
<?xml version="1.0"?>
<xsl:stylesheet version="1.0"
xmlns:xsl="http://www.w3.org/1999/XSL/Transform";>
<xsl:template match="/">
<xsl:text disable-output-escaping="yes"><![CDATA[]]></xsl:text>
</xsl:template>
</xsl:stylesheet>

Expected result:
----------------
Segmentation fault.

Actual result:
--------------
For example: child pid 31708 exit signal Segmentation fault (11)


------------------------------------------------------------------------


-- 
Edit this bug report at http://bugs.php.net/?id=31809&edit=1

Reply via email to