Implement bounded XML LLSD codec
This commit is contained in:
6
fuzz/corpus/xml_llsd/README.md
Normal file
6
fuzz/corpus/xml_llsd/README.md
Normal file
@@ -0,0 +1,6 @@
|
||||
# XML LLSD security regression corpus
|
||||
|
||||
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.
|
||||
1
fuzz/corpus/xml_llsd/doctype_entity.xml
Normal file
1
fuzz/corpus/xml_llsd/doctype_entity.xml
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE llsd [<!ENTITY x "expanded">]><llsd><string>&x;</string></llsd>
|
||||
1
fuzz/corpus/xml_llsd/external_entity.xml
Normal file
1
fuzz/corpus/xml_llsd/external_entity.xml
Normal file
@@ -0,0 +1 @@
|
||||
<!DOCTYPE llsd [<!ENTITY x SYSTEM "file:///etc/passwd">]><llsd><string>&x;</string></llsd>
|
||||
1
fuzz/corpus/xml_llsd/unknown_entity.xml
Normal file
1
fuzz/corpus/xml_llsd/unknown_entity.xml
Normal file
@@ -0,0 +1 @@
|
||||
<llsd><string>&unknown;</string></llsd>
|
||||
Reference in New Issue
Block a user