Task #52385 - added.err
back to task #52385download
Error: GCC_ANALYZER_WARNING (CWE-457):
nftables-1.1.3/src/parser_json.c:3589:13: warning[-Wanalyzer-use-of-uninitialized-value]: use of uninitialized value 'family'
nftables-1.1.3/src/parser_json.c:3564:20: enter_function: entry to 'json_parse_cmd_add_flowtable'
nftables-1.1.3/src/parser_json.c:3574:13: call_function: calling 'json_unpack_err' from 'json_parse_cmd_add_flowtable'
nftables-1.1.3/src/parser_json.c:3574:13: return_function: returning to 'json_parse_cmd_add_flowtable' from 'json_unpack_err'
nftables-1.1.3/src/parser_json.c:3574:12: branch_false: following 'false' branch...
nftables-1.1.3/src/parser_json.c:3579:12: branch_false: ...to here
nftables-1.1.3/src/parser_json.c:3589:13: danger: use of uninitialized value 'family' here
# 3587| }
# 3588|
# 3589|-> if (parse_family(family, &h.family)) {
# 3590| json_error(ctx, "Unknown family '%s'.", family);
# 3591| return NULL;