Fixed bug in Base64 decoding.
This commit is contained in:
parent
6057891e93
commit
3952df7eaa
@ -2,6 +2,11 @@
|
||||
VERSION 0.6.4cvs
|
||||
================
|
||||
|
||||
2005-04-09 Vincent Richard <vincent@vincent-richard.net>
|
||||
|
||||
* encoderB64.cpp: fixed a bug in Base64 decoding. Bytes to be decoded
|
||||
were not correctly initialized.
|
||||
|
||||
2005-04-03 Vincent Richard <vincent@vincent-richard.net>
|
||||
|
||||
* messaging/*: moved IMAP, POP3, maildir and SMTP files to separate
|
||||
|
@ -186,6 +186,11 @@ const utility::stream::size_type encoderB64::decode(utility::inputStream& in, ut
|
||||
|
||||
while (bufferPos < bufferLength || !in.eof())
|
||||
{
|
||||
bytes[0] = '=';
|
||||
bytes[1] = '=';
|
||||
bytes[2] = '=';
|
||||
bytes[3] = '=';
|
||||
|
||||
// Need to get more data?
|
||||
if (bufferPos >= bufferLength)
|
||||
{
|
||||
|
Loading…
Reference in New Issue
Block a user