diff options
| author | Daniel Veillard <veillard@src.gnome.org> | 2005-03-12 18:54:55 +0000 |
|---|---|---|
| committer | Daniel Veillard <veillard@src.gnome.org> | 2005-03-12 18:54:55 +0000 |
| commit | cffc1c7af19c6e070f35024a18c32507344ebfbb (patch) | |
| tree | eae428c55dea0e9e31e699bca6a2deef8bafec0c /encoding.c | |
| parent | 273670f435219087fbb0a7da7e980ac6e28a8ae0 (diff) | |
| download | android_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.c | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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; |
