aboutsummaryrefslogtreecommitdiffstats
path: root/encoding.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2005-03-12 18:54:55 +0000
committerDaniel Veillard <veillard@src.gnome.org>2005-03-12 18:54:55 +0000
commitcffc1c7af19c6e070f35024a18c32507344ebfbb (patch)
treeeae428c55dea0e9e31e699bca6a2deef8bafec0c /encoding.c
parent273670f435219087fbb0a7da7e980ac6e28a8ae0 (diff)
downloadandroid_external_libxml2-cffc1c7af19c6e070f35024a18c32507344ebfbb.tar.gz
android_external_libxml2-cffc1c7af19c6e070f35024a18c32507344ebfbb.tar.bz2
android_external_libxml2-cffc1c7af19c6e070f35024a18c32507344ebfbb.zip
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
Diffstat (limited to 'encoding.c')
-rw-r--r--encoding.c2
1 files changed, 1 insertions, 1 deletions
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;