Learn how easy it is to sync an existing GitHub or Google Code repo to a SourceForge project! See Demo

Close

#119 tinyxmlparser should handle '\000' properly

open
nobody
None
5
2011-05-18
2011-05-18
Kevin Cai
No

If '\000' is there, tinyxmlparser will hang forever.

Test file: test.xml

hexdump -C test.xml output

00000000 3c 61 3e 61 00 3c 2f 61 3e 0a |<a>a.</a>.|
0000000a

Discussion

  • Dirk Jagdmann
    Dirk Jagdmann
    2012-01-10

    true, TinxXML does not handle it. However 0 bytes are not allowed in XML documents, see XML spec section 2.2