aboutsummaryrefslogtreecommitdiff
path: root/src/or/parsecommon.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/or/parsecommon.c')
-rw-r--r--src/or/parsecommon.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/or/parsecommon.c b/src/or/parsecommon.c
index 6b5359303a..6c3dd3100e 100644
--- a/src/or/parsecommon.c
+++ b/src/or/parsecommon.c
@@ -161,6 +161,7 @@ get_token_arguments(memarea_t *area, directory_token_t *tok,
char *cp = mem;
int j = 0;
char *args[MAX_ARGS];
+ memset(args, 0, sizeof(args));
while (*cp) {
if (j == MAX_ARGS)
return -1;