forked from enlightenment/efl
parent
eaf9822094
commit
02bfb82da0
|
@ -1701,7 +1701,7 @@ _base64_dec(const char *file, int *size_ret)
|
||||||
|
|
||||||
if (tmp)
|
if (tmp)
|
||||||
{
|
{
|
||||||
int len = _b64_dec(tmp, buf, end - buf);
|
size_t len = _b64_dec(tmp, buf, end - buf);
|
||||||
char *str = malloc(end - buf + 1);
|
char *str = malloc(end - buf + 1);
|
||||||
strncpy(str, buf, end - buf);
|
strncpy(str, buf, end - buf);
|
||||||
str[end - buf] = 0;
|
str[end - buf] = 0;
|
||||||
|
|
Loading…
Reference in New Issue