From: Arran Cudbard-Bell Date: Fri, 28 Jan 2022 22:04:37 +0000 (-0600) Subject: tmpl rules can be NULL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e05439cc931ea36b861ed75e41d54a67aa01d226;p=thirdparty%2Ffreeradius-server.git tmpl rules can be NULL --- diff --git a/src/lib/server/tmpl.h b/src/lib/server/tmpl.h index 5256a5a237..a33ce56c8e 100644 --- a/src/lib/server/tmpl.h +++ b/src/lib/server/tmpl.h @@ -904,7 +904,7 @@ tmpl_t *tmpl_init_shallow(tmpl_t *vpt, tmpl_type_t type, fr_token_t quote, tmpl_t *tmpl_init(tmpl_t *vpt, tmpl_type_t type, fr_token_t quote, char const *name, ssize_t len, - tmpl_rules_t const *t_rules) CC_HINT(nonnull); + tmpl_rules_t const *t_rules) CC_HINT(nonnull(1,4)); tmpl_t *tmpl_alloc(TALLOC_CTX *ctx, tmpl_type_t type, fr_token_t quote, char const *name, ssize_t len);