mirror of
https://gitlab.gnome.org/GNOME/libxml2.git
synced 2025-03-19 14:50:07 +03:00
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
This commit is contained in:
parent
2ae05c7e95
commit
c127adc808
@ -1,3 +1,8 @@
|
||||
Wed Jul 23 15:15:08 IST 2003 Daniel Veillard <daniel@veillard.com>
|
||||
|
||||
* 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 <jfleck@inkstain.net>
|
||||
|
||||
* doc/xmllint.html
|
||||
|
@ -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 */
|
||||
|
Loading…
x
Reference in New Issue
Block a user