Skip to content

Commit

Permalink
Initialize stack entries for cursor, etc.
Browse files Browse the repository at this point in the history
  • Loading branch information
alandekok committed Feb 1, 2016
1 parent 5d70747 commit ac57531
Showing 1 changed file with 2 additions and 0 deletions.
2 changes: 2 additions & 0 deletions src/main/interpreter.c
Expand Up @@ -180,6 +180,8 @@ static void modcall_push(modcall_stack_t *stack, modcallable *c, rlm_rcode_t res
next->was_if = false;
next->if_taken = false;
next->iterative = false;
memset(&next->cursor, 0, sizeof(next->cursor));
next->child = next->found = NULL;
}

static void modcall_pop(modcall_stack_t *stack)
Expand Down

0 comments on commit ac57531

Please sign in to comment.