Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-457): [#def1]
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;

Scan Properties

analyzer-version-clippy1.86.0
analyzer-version-cppcheck2.17.1
analyzer-version-gcc15.0.1
analyzer-version-gcc-analyzer15.0.1
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.86.0
diffbase-analyzer-version-cppcheck2.17.1
diffbase-analyzer-version-gcc15.0.1
diffbase-analyzer-version-gcc-analyzer15.0.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-9.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namenftables-1.1.1-3.fc42
diffbase-store-results-to/tmp/tmp9pnr2ser/nftables-1.1.1-3.fc42.tar.xz
diffbase-time-created2025-04-25 14:30:53
diffbase-time-finished2025-04-25 14:33:14
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp9pnr2ser/nftables-1.1.1-3.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp9pnr2ser/nftables-1.1.1-3.fc42.src.rpm'
diffbase-tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-9.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20250425.124705.g1c7c448.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namenftables-1.1.3-1.fc43
store-results-to/tmp/tmp72441yts/nftables-1.1.3-1.fc43.tar.xz
time-created2025-04-25 14:33:37
time-finished2025-04-25 14:35:33
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'unicontrol,cppcheck,gcc,clippy,shellcheck' '-o' '/tmp/tmp72441yts/nftables-1.1.3-1.fc43.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '--gcc-analyzer-bin=/usr/bin/gcc' '/tmp/tmp72441yts/nftables-1.1.3-1.fc43.src.rpm'
tool-versioncsmock-3.8.1.20250422.172604.g26bc3d6-1.el9