Christopher R. Palmer fixed Curl_base64_encode() to deal with zeroes in the

data to encode.
This commit is contained in:
Daniel Stenberg 2003-02-13 18:30:10 +00:00
parent 10e9bf623f
commit 3ddc7b9390
1 changed files with 1 additions and 1 deletions

View File

@ -135,7 +135,7 @@ int Curl_base64_encode(const void *inp, int insize, char **outptr)
while(insize > 0) {
for (i = inputparts = 0; i < 3; i++) {
if(*indata) {
if(insize > 0) {
inputparts++;
ibuf[i] = *indata;
indata++;