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
diff --git a/ChangeLog b/ChangeLog
index b5a2054..6bcc4fb 100644
--- a/ChangeLog
+++ b/ChangeLog
@@ -1,3 +1,9 @@
+Sat Mar 12 19:50:22 CET 2005 Daniel Veillard <daniel@veillard.com>
+
+ * encoding.c: removed a static buffer in xmlByteConsumed(),
+ as pointed by Ben Maurer, fixes #170086
+ * xmlschemas.c: remove a potentially uninitialized pointer warning
+
Fri Mar 11 23:53:13 HKT 2005 William Brack <wbrack@mmm.com.hk>
* xmlschemastypes.c: enhanced the parsing of XML_SCHEMAS_DECIMAL
diff --git a/encoding.c b/encoding.c
index 35c5443..a3dad07 100644
--- a/encoding.c
+++ b/encoding.c
@@ -2146,7 +2146,7 @@
* 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;
diff --git a/xmlschemas.c b/xmlschemas.c
index a0cff13..41add1c 100644
--- a/xmlschemas.c
+++ b/xmlschemas.c
@@ -8240,7 +8240,7 @@
const xmlChar *schemaLocation, *targetNamespace;
xmlDocPtr doc = NULL;
xmlNodePtr root = NULL;
- xmlSchemaIncludePtr include;
+ xmlSchemaIncludePtr include = NULL;
int wasConvertingNs = 0;
xmlAttrPtr attr;
xmlParserCtxtPtr parserCtxt;