1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-10-26 00:37:43 +03:00

xinclude: Check URI length

Don't report long URIs as OOM errors.
This commit is contained in:
Nick Wellnhofer
2024-07-01 16:01:24 +02:00
parent 37f7237050
commit 16e7ecd478
3 changed files with 14 additions and 3 deletions

View File

@@ -4,6 +4,8 @@
#include <libxml/parser.h>
#include <libxml/xmlversion.h>
#define XML_MAX_URI_LENGTH 2000
/**
* XML_VCTXT_DTD_VALIDATED:
*