aboutsummaryrefslogtreecommitdiffstats
path: root/xmlreader.c
diff options
context:
space:
mode:
authorDaniel Veillard <veillard@src.gnome.org>2003-07-23 15:07:08 +0000
committerDaniel Veillard <veillard@src.gnome.org>2003-07-23 15:07:08 +0000
commitc127adc8087948927899fb37c387d8771fda7408 (patch)
treee6c133f56c16da09cc8ddd6c5a303beb5cc68976 /xmlreader.c
parent2ae05c7e95b5bc875583ddc520812ab5b4d9fa9e (diff)
downloadandroid_external_libxml2-c127adc8087948927899fb37c387d8771fda7408.tar.gz
android_external_libxml2-c127adc8087948927899fb37c387d8771fda7408.tar.bz2
android_external_libxml2-c127adc8087948927899fb37c387d8771fda7408.zip
fixed an out of bound error #118052 , the good part if that base64 code
* xmlreader.c: fixed an out of bound error #118052 , the good part if that base64 code was not in use yet ... Daniel
Diffstat (limited to 'xmlreader.c')
-rw-r--r--xmlreader.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xmlreader.c b/xmlreader.c
index 031e054c..59dc6bb4 100644
--- a/xmlreader.c
+++ b/xmlreader.c
@@ -2879,7 +2879,7 @@ xmlBase64Decode(const unsigned char *in, unsigned long *inlen,
unsigned long inmax; /* size of in[] */
unsigned long outmax; /* size of out[] */
unsigned char cur; /* the current value read from in[] */
- unsigned char intmp[3], outtmp[4]; /* temporary buffers for the convert */
+ unsigned char intmp[4], outtmp[4]; /* temporary buffers for the convert */
int nbintmp; /* number of byte in intmp[] */
int is_ignore; /* cur should be ignored */
int is_end = 0; /* the end of the base64 was found */