commit | 7d2b323ed648ed3093bad18616d5ebe7e792549a | [log] [tgz] |
---|---|---|
author | Daniel Veillard <veillard@src.gnome.org> | Thu Jul 14 08:57:39 2005 +0000 |
committer | Daniel Veillard <veillard@src.gnome.org> | Thu Jul 14 08:57:39 2005 +0000 |
tree | e40e4830c2dae40eb629371e0a6527db3e0156c9 | |
parent | 32f0f717d1e7854d87e03b659e772fa48ec9f91a [diff] [blame] |
fixed a potential buffer overrun error introduced on last commit to * HTMLparser.c: fixed a potential buffer overrun error introduced on last commit to htmlParseScript() c.f. #310229 Daniel
diff --git a/HTMLparser.c b/HTMLparser.c index d724620..a54fc8d 100644 --- a/HTMLparser.c +++ b/HTMLparser.c
@@ -2627,7 +2627,7 @@ */ static void htmlParseScript(htmlParserCtxtPtr ctxt) { - xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 1]; + xmlChar buf[HTML_PARSER_BIG_BUFFER_SIZE + 5]; int nbchar = 0; int cur,l;