1
0
mirror of https://github.com/weechat/weechat.git synced 2026-07-04 16:53:14 +02:00

core: fix uninitialized value in function string_decode_base64

This commit is contained in:
Sebastien Helleu
2014-02-22 12:46:57 +01:00
parent 9ce8fc7068
commit 913de0c29b
2 changed files with 5 additions and 0 deletions
+4
View File
@@ -2425,6 +2425,10 @@ string_decode_base64 (const char *from, char *to)
{
length = 0;
for (i = 0; i < 4; i++)
{
in[i] = 0;
}
for (i = 0; i < 4; i++)
{
c = 0;
while (ptr_from[0] && (c == 0))