mirror of
https://gitlab.gnome.org/GNOME/libxslt
synced 2025-08-08 21:42:07 +03:00
The character type in xsltFormatNumberConversion was too narrow and an invalid character/length combination could be passed to xsltNumberFormatDecimal, resulting in an uninitialized read. Found by OSS-Fuzz.
7 lines
260 B
XML
7 lines
260 B
XML
<xsl:stylesheet xmlns:xsl="http://www.w3.org/1999/XSL/Transform" version="1.0">
|
|
<xsl:decimal-format name="f" grouping-separator="⠢"/>
|
|
<xsl:template match="/">
|
|
<xsl:value-of select="format-number(10,'#⠢0','f')"/>
|
|
</xsl:template>
|
|
</xsl:stylesheet>
|