Fixed defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
openscap-1.4.0-build/openscap-1.4.0/src/OVAL/probes/unix/linux/iflisteners_probe.c: scope_hint: In function ‘iflisteners_probe_main’
openscap-1.4.0-build/openscap-1.4.0/src/OVAL/probes/unix/linux/iflisteners_probe.c:470:16: warning[-Wanalyzer-malloc-leak]: leak of ‘ll.cur’
openscap-1.4.0-build/openscap-1.4.0/src/OVAL/probes/unix/linux/iflisteners_probe.c: scope_hint: In function ‘iflisteners_probe_main’
#  468|   	SEXP_free(interface_name_ent);
#  469|   
#  470|-> 	return err;
#  471|   }

Scan Properties

analyzer-version-cppcheck2.14.2
analyzer-version-gcc14.1.1
analyzer-version-gcc-analyzer14.1.1
analyzer-version-shellcheck0.10.0
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-pluginscppcheck, gcc, shellcheck
diffbase-exit-code0
diffbase-hostip-172-16-1-43.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameopenscap-1.4.0-0.20240731151516392833.pr2144.142.gd4ea0ebf0
diffbase-store-results-to/tmp/tmp52zud1k_/openscap-1.4.0-0.20240731151516392833.pr2144.142.gd4ea0ebf0.tar.xz
diffbase-time-created2024-07-31 15:35:11
diffbase-time-finished2024-07-31 15:40:44
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,cppcheck' '-o' '/tmp/tmp52zud1k_/openscap-1.4.0-0.20240731151516392833.pr2144.142.gd4ea0ebf0.tar.xz' '--gcc-analyze' '--cppcheck-add-flag=--check-level=exhaustive' '/tmp/tmp52zud1k_/openscap-1.4.0-0.20240731151516392833.pr2144.142.gd4ea0ebf0.src.rpm'
diffbase-tool-versioncsmock-3.6.0-1.el9
enabled-pluginscppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-43.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-nameopenscap-1.4.0-0.20240731091229725680.main.140.g3e5b01e55
store-results-to/tmp/tmp2kync59o/openscap-1.4.0-0.20240731091229725680.main.140.g3e5b01e55.tar.xz
time-created2024-07-31 15:28:38
time-finished2024-07-31 15:34:45
titleFixed defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,cppcheck' '-o' '/tmp/tmp2kync59o/openscap-1.4.0-0.20240731091229725680.main.140.g3e5b01e55.tar.xz' '--gcc-analyze' '--cppcheck-add-flag=--check-level=exhaustive' '/tmp/tmp2kync59o/openscap-1.4.0-0.20240731091229725680.main.140.g3e5b01e55.src.rpm'
tool-versioncsmock-3.6.0-1.el9