commit 49df7a313bbd2d3fc7b21cb2b17b3724e8237d55
parent ee995033237908de40307d05fc05455aa80d5b15
Author: Joris Vink <joris@coders.se>
Date: Tue, 15 Oct 2013 13:10:30 +0200
Make sure d cannot be used uninitialized.
Diffstat:
src/utils.c | 1 +
1 file changed, 1 insertion(+), 0 deletions(-)
diff --git a/src/utils.c b/src/utils.c
@@ -337,6 +337,7 @@ kore_base64_decode(char *in, u_int8_t **out, u_int32_t *olen)
i = 3;
b = 0;
+ d = 0;
len = strlen(in);
res = kore_buf_create(len);