diff --git a/ChangeLog b/ChangeLog index f211e069..e50a9f46 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,8 @@ +Wed Jul 23 15:15:08 IST 2003 Daniel Veillard + + * xmlreader.c: fixed an out of bound error #118052 , the good + part if that base64 code was not in use yet ... + Tue Jul 22 19:42:15 MDT 2003 John Fleck * doc/xmllint.html 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 */