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

* valid.c: fix bug  , 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

@ -1,3 +1,8 @@
Thu Mar 6 22:35:50 CET 2003 Daniel Veillard <daniel@veillard.com>
* valid.c: fix bug #107764 , possibility of buffer overflow
in xmlValidDebug()
Wed Mar 5 17:41:37 CET 2003 Daniel Veillard <daniel@veillard.com>
* nanoftp.c include/libxml/nanoftp.h: adding xmlNanoFTPDele()

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: ");