From cffc1c7af19c6e070f35024a18c32507344ebfbb Mon Sep 17 00:00:00 2001 From: Daniel Veillard Date: Sat, 12 Mar 2005 18:54:55 +0000 Subject: removed a static buffer in xmlByteConsumed(), as pointed by Ben Maurer, * encoding.c: removed a static buffer in xmlByteConsumed(), as pointed by Ben Maurer, fixes #170086 * xmlschemas.c: remove a potentially uninitialized pointer warning Daniel --- encoding.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'encoding.c') diff --git a/encoding.c b/encoding.c index 35c54434..a3dad072 100644 --- a/encoding.c +++ b/encoding.c @@ -2146,7 +2146,7 @@ xmlByteConsumed(xmlParserCtxtPtr ctxt) { * the raw consumed value, this is not a cheap operation */ if (in->end - in->cur > 0) { - static unsigned char convbuf[32000]; + unsigned char convbuf[32000]; const unsigned char *cur = (const unsigned char *)in->cur; int toconv = in->end - in->cur, written = 32000; -- cgit v1.2.3