freeradius-server icon indicating copy to clipboard operation
freeradius-server copied to clipboard

Don't pass NULL rules to call_env_alloc() (CID #1530398)

Open jejones3141 opened this issue 1 year ago • 0 comments

Coverity sees the nonnull attribute of call_env_alloc()'s t_rules attribute, which compile_module() passes unlang_ctx->rules to. Earlier unlang_ctx->rules is checked, so Coverity infers it can be NULL and complains about the lack of checking on the call_env_alloc().

jejones3141 avatar Feb 15 '24 18:02 jejones3141