]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
clear out vpt for the NULL case
authorAlan T. DeKok <aland@freeradius.org>
Thu, 14 Jan 2021 15:31:03 +0000 (10:31 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Thu, 14 Jan 2021 15:31:03 +0000 (10:31 -0500)
src/lib/unlang/switch.c

index 23463ebfeb3d9b383751dde350d2ef52360e0de8..d4d8395667e3ac5110cc08831348820b76e8e787 100644 (file)
@@ -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 = &map;