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:
@@ -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))
|
||||
|
||||
Reference in New Issue
Block a user