From: Alan T. DeKok Date: Thu, 14 Jan 2021 15:31:03 +0000 (-0500) Subject: clear out vpt for the NULL case X-Git-Url: http://git.ipfire.org/gitweb.cgi?a=commitdiff_plain;h=4ff993b21d54571e345cb61a3d3fb2db41556dcf;p=thirdparty%2Ffreeradius-server.git clear out vpt for the NULL case --- diff --git a/src/lib/unlang/switch.c b/src/lib/unlang/switch.c index 23463ebfeb3..d4d8395667e 100644 --- a/src/lib/unlang/switch.c +++ b/src/lib/unlang/switch.c @@ -49,6 +49,7 @@ static unlang_action_t unlang_switch(UNUSED rlm_rcode_t *p_result, request_t *re memset(&cond, 0, sizeof(cond)); memset(&map, 0, sizeof(map)); + memset(&vpt, 0, sizeof(vpt)); cond.type = COND_TYPE_MAP; cond.data.map = ↦