Fixed defects

List of Defects

Error: COMPILER_WARNING: [#def1]
libseccomp-2.5.3-build/libseccomp-2.5.3/src/gen_bpf.c: scope_hint: In function ‘_gen_bpf_build_bpf’
libseccomp-2.5.3-build/libseccomp-2.5.3/src/gen_bpf.c:2074:21: warning[-Wdangling-pointer=]: storing the address of local variable ‘pseudo_arch’ in ‘state_236(D)->arch’
# 2074 |         state->arch = &pseudo_arch;
#      |         ~~~~~~~~~~~~^~~~~~~~~~~~~~
libseccomp-2.5.3-build/libseccomp-2.5.3/src/gen_bpf.c:1996:25: note: ‘pseudo_arch’ declared here
# 1996 |         struct arch_def pseudo_arch;
#      |                         ^~~~~~~~~~~
libseccomp-2.5.3-build/libseccomp-2.5.3/src/gen_bpf.c:1982:49: note: ‘state’ declared here
# 1982 | static int _gen_bpf_build_bpf(struct bpf_state *state,
#      |                               ~~~~~~~~~~~~~~~~~~^~~~~
# 2072|   
# 2073|   	/* reset the state to the pseudo_arch for the final resolution */
# 2074|-> 	state->arch = &pseudo_arch;
# 2075|   
# 2076|   	/* resolve any TGT_NXT jumps at the top level */

Scan Properties

analyzer-version-clang18.1.7
analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-clang18.1.7
diffbase-analyzer-version-cppcheck2.14.2
diffbase-analyzer-version-gcc14.1.1
diffbase-analyzer-version-gcc-analyzer14.1.1
diffbase-analyzer-version-shellcheck0.10.0
diffbase-enabled-pluginsclang, cppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-80.us-west-2.compute.internal
diffbase-mock-configfedora-41-x86_64
diffbase-project-namelibseccomp-2.5.5-1.fc41
diffbase-store-results-to/tmp/tmp_7yc19r8/libseccomp-2.5.5-1.fc41.tar.xz
diffbase-time-created2024-07-03 15:52:31
diffbase-time-finished2024-07-03 15:53:43
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp_7yc19r8/libseccomp-2.5.5-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmp_7yc19r8/libseccomp-2.5.5-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.5.3-1.el9
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-80.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibseccomp-2.5.3-8.fc40
store-results-to/tmp/tmp1tig47wu/libseccomp-2.5.3-8.fc40.tar.xz
time-created2024-07-03 15:50:28
time-finished2024-07-03 15:52:05
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp1tig47wu/libseccomp-2.5.3-8.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp1tig47wu/libseccomp-2.5.3-8.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9