diff options
author | Daniel Veillard <veillard@src.gnome.org> | 2003-07-23 15:07:08 +0000 |
---|---|---|
committer | Daniel Veillard <veillard@src.gnome.org> | 2003-07-23 15:07:08 +0000 |
commit | c127adc8087948927899fb37c387d8771fda7408 (patch) | |
tree | e6c133f56c16da09cc8ddd6c5a303beb5cc68976 /xmlreader.c | |
parent | 2ae05c7e95b5bc875583ddc520812ab5b4d9fa9e (diff) | |
download | android_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.c | 2 |
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 */ |