mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-10-26 00:37:43 +03:00
fuzz: Move back to xmlSetExternalEntityLoader
xmlParserInputBufferCreateFilenameDefault can't report malloc failures.
This commit is contained in:
@@ -162,7 +162,7 @@ testEntityLoader(void) {
|
||||
xmlDocPtr doc;
|
||||
int ret = 0;
|
||||
|
||||
xmlParserInputBufferCreateFilenameDefault(xmlFuzzEntityLoader);
|
||||
xmlSetExternalEntityLoader(xmlFuzzEntityLoader);
|
||||
|
||||
xmlFuzzDataInit(data, sizeof(data) - 1);
|
||||
xmlFuzzReadEntities();
|
||||
|
||||
Reference in New Issue
Block a user