mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-31 06:50:06 +03:00
fuzz: Test XML_PARSE_XINCLUDE | XML_PARSE_VALID
This commit is contained in:
parent
86ef190e53
commit
e019d97fd0
@ -35,7 +35,6 @@ LLVMFuzzerTestOneInput(const char *data, size_t size) {
|
||||
|
||||
xmlFuzzDataInit(data, size);
|
||||
opts = (int) xmlFuzzReadInt(4);
|
||||
opts &= ~XML_PARSE_DTDVALID;
|
||||
opts |= XML_PARSE_XINCLUDE;
|
||||
maxAlloc = xmlFuzzReadInt(4) % (size + 1);
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user