Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-688): [#def1]
libxmlb-0.3.19-build/libxmlb-0.3.19/src/xb-silo.c: scope_hint: In function ‘xb_silo_machine_func_text_cb’
libxmlb-0.3.19-build/libxmlb-0.3.19/src/xb-silo.c:1383:17: warning[-Wanalyzer-null-argument]: use of NULL where non-null expected
libxmlb-0.3.19-build/libxmlb-0.3.19/src/xb-silo.c:41: included_from: Included from here.
libxmlb-0.3.19-build/libxmlb-0.3.19/src/xb-opcode-private.h:75:1: note: argument 2 of ‘xb_opcode_append_token’ must be non-null
# 1381|   	for (guint i = 0; i < token_count; i++) {
# 1382|   		guint32 stridx = xb_silo_node_get_token_idx(query_data->sn, i);
# 1383|-> 		xb_opcode_append_token(op, xb_silo_from_strtab(silo, stridx));
# 1384|   	}
# 1385|   

Scan Properties

analyzer-version-clippy1.82.0
analyzer-version-cppcheck2.16.0
analyzer-version-gcc14.2.1
analyzer-version-gcc-analyzer15.0.0
analyzer-version-shellcheck0.10.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
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-221.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namelibxmlb-0.3.21-1.fc42
diffbase-store-results-to/tmp/tmpnekuklgr/libxmlb-0.3.21-1.fc42.tar.xz
diffbase-time-created2024-11-13 01:57:43
diffbase-time-finished2024-11-13 01:59:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpnekuklgr/libxmlb-0.3.21-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpnekuklgr/libxmlb-0.3.21-1.fc42.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-221.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namelibxmlb-0.3.19-3.fc41
store-results-to/tmp/tmp5pe5ab_t/libxmlb-0.3.19-3.fc41.tar.xz
time-created2024-11-13 01:54:39
time-finished2024-11-13 01:57:22
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp5pe5ab_t/libxmlb-0.3.19-3.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp5pe5ab_t/libxmlb-0.3.19-3.fc41.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9