]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
set rules to zero
authorAlan T. DeKok <aland@freeradius.org>
Tue, 31 Oct 2023 20:30:28 +0000 (16:30 -0400)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 31 Oct 2023 20:30:28 +0000 (16:30 -0400)
src/lib/server/map.c

index fe0e5f83f48feb5a770fefcc49e02aaf45f3abb4..2080b06481d294d778d443cd980b49708036e6f2 100644 (file)
@@ -114,7 +114,7 @@ int map_afrom_cp(TALLOC_CTX *ctx, map_t **out, map_t *parent, CONF_PAIR *cp,
        ssize_t         slen;
        fr_token_t      type;
        fr_dict_attr_t const *da;
-       tmpl_rules_t    my_rhs_rules;
+       tmpl_rules_t    my_rhs_rules = {};
        tmpl_rules_t const *rhs_rules = input_rhs_rules;
        TALLOC_CTX      *child_ctx = NULL;