libndp-1.8-9.fc40

List of Defects

Error: CPPCHECK_WARNING (CWE-401): [#def1]
libndp-1.8-build/libndp-1.8/libndp/libndp.c:2036: error[memleak]: Memory leak: handler_item
# 2034|   	handler_item->priv = priv;
# 2035|   	list_add_tail(&ndp->msgrcv_handler_list, &handler_item->list);
# 2036|-> 	return 0;
# 2037|   }
# 2038|   

Error: CPPCHECK_WARNING: [#def2]
libndp-1.8-build/libndp-1.8/utils/ndptool.c: information[normalCheckLevelMaxBranches]: Limiting analysis of branches. Use --check-level=exhaustive to analyze all branches.

Error: CLANG_WARNING: [#def3]
libndp-1.8-build/libndp-1.8/utils/ndptool.c:457:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
#  455|   	argv += optind;
#  456|   	cmd_name = *argv++;
#  457|-> 	argc -= optind + 1;
#  458|   
#  459|   	ifindex = 0;

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
enabled-pluginsclang, cppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-140.us-west-2.compute.internal
mock-configfedora-41-x86_64
project-namelibndp-1.8-9.fc40
store-results-to/tmp/tmp1kixw7fq/libndp-1.8-9.fc40.tar.xz
time-created2024-07-03 14:50:37
time-finished2024-07-03 14:51:49
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmp1kixw7fq/libndp-1.8-9.fc40.tar.xz' '--gcc-analyze' '/tmp/tmp1kixw7fq/libndp-1.8-9.fc40.src.rpm'
tool-versioncsmock-3.5.3-1.el9