-
- Downloads
Fix saxon:line-number with namespace nodes
exsltSaxonLineNumberFunction must make sure not to pass namespace "nodes" to xmlGetLineNo. Otherwise, an OOB heap read results which typically leads to a segfault. Found with afl-fuzz and ASan.
Showing
- libexslt/saxon.c 30 additions, 15 deletionslibexslt/saxon.c
- tests/exslt/saxon/Makefile.am 2 additions, 1 deletiontests/exslt/saxon/Makefile.am
- tests/exslt/saxon/lineno.1.out 6 additions, 0 deletionstests/exslt/saxon/lineno.1.out
- tests/exslt/saxon/lineno.1.xml 9 additions, 0 deletionstests/exslt/saxon/lineno.1.xml
- tests/exslt/saxon/lineno.1.xsl 24 additions, 0 deletionstests/exslt/saxon/lineno.1.xsl
tests/exslt/saxon/lineno.1.out
0 → 100644
tests/exslt/saxon/lineno.1.xml
0 → 100644
tests/exslt/saxon/lineno.1.xsl
0 → 100644
Please register or sign in to comment