1
0
mirror of https://gitlab.gnome.org/GNOME/libxslt synced 2025-08-08 21:42:07 +03:00
Files
libxslt/tests/general/bug-194.xsl
Nick Wellnhofer 7893a4685d Avoid infinite recursion after failed param evaluation
Always mark variables as computed even if evaluation fails. This
avoids infinite recursion and a stack overflow if a parameter whose
evaluation failed is looked up again.

Found with afl-fuzz.
2016-06-21 13:37:20 +02:00

9 lines
204 B
XML

<x:stylesheet xmlns:x="http://www.w3.org/1999/XSL/Transform" version="1.0">
<x:template match="/">
<x:param name="p" select="$p"/>
<x:param name="p2" select="$p"/>
</x:template>
</x:stylesheet>