Complete StructuredData parity and parser hardening (#37)
This commit is contained in:
@@ -3,4 +3,6 @@
|
||||
These inputs exercise the XML LLSD parser's entity boundary. DTD declarations,
|
||||
external entities, and undeclared named entities must be rejected without file
|
||||
or network access and without entity expansion. The structured-data unit tests
|
||||
load every fixture directly.
|
||||
load every fixture directly. `malformed_nesting.xml` additionally covers
|
||||
crossed container end tags, while `truncated_scalar.xml` guards against parser
|
||||
loops when a scalar reaches end-of-input without a closing tag.
|
||||
|
||||
1
fuzz/corpus/xml_llsd/malformed_nesting.xml
Normal file
1
fuzz/corpus/xml_llsd/malformed_nesting.xml
Normal file
@@ -0,0 +1 @@
|
||||
<llsd><map><key>value</key><array><integer>1</map></array></llsd>
|
||||
1
fuzz/corpus/xml_llsd/truncated_scalar.xml
Normal file
1
fuzz/corpus/xml_llsd/truncated_scalar.xml
Normal file
@@ -0,0 +1 @@
|
||||
<llsd><string>unterminated
|
||||
Reference in New Issue
Block a user