kore

Kore is a web application platform for writing scalable, concurrent web based processes in C or Python.
Commits | Files | Refs | README | LICENSE | git clone https://git.kore.io/kore.git

commit a895250e972fd5a6141736cbac93994a38f728e1
parent fe0149ad24d462852e7c3c6eee8417dbbd37f74c
Author: Joris Vink <joris@coders.se>
Date:   Wed, 30 Jul 2014 09:00:19 +0200

Make sure l and c are initialized

Diffstat:
src/utils.c | 2++
1 file changed, 2 insertions(+), 0 deletions(-)

diff --git a/src/utils.c b/src/utils.c @@ -133,6 +133,7 @@ kore_strtonum64(const char *str, int sign, int *err) char *ep; int check; + l = 0; check = 1; ll = strtoll(str, &ep, 10); @@ -390,6 +391,7 @@ kore_base64_decode(char *in, u_int8_t **out, u_int32_t *olen) i = 4; b = 0; d = 0; + c = 0; len = strlen(in); res = kore_buf_create(len);