1
0
mirror of https://gitlab.gnome.org/GNOME/libxml2.git synced 2025-08-01 10:06:59 +03:00

fix bug #107764 , possibility of buffer overflow in xmlValidDebug() Daniel

* valid.c: fix bug #107764 , possibility of buffer overflow
  in xmlValidDebug()
Daniel
This commit is contained in:
Daniel Veillard
2003-03-06 21:37:30 +00:00
parent 6c73cb8b67
commit 8339128106
2 changed files with 6 additions and 1 deletions

View File

@ -371,7 +371,7 @@ xmlValidPrintNodeList(xmlNodePtr cur) {
static void
xmlValidDebug(xmlNodePtr cur, xmlElementContentPtr cont) {
char expr[1000];
char expr[5000];
expr[0] = 0;
xmlGenericError(xmlGenericErrorContext, "valid: ");