libndp-1.9-1.fc41

List of Defects

Error: CPPCHECK_WARNING (CWE-401): [#def1]
libndp-1.9-build/libndp-1.9/libndp/libndp.c:2152: error[memleak]: Memory leak: handler_item
# 2150|   	handler_item->priv = priv;
# 2151|   	list_add_tail(&ndp->msgrcv_handler_list, &handler_item->list);
# 2152|-> 	return 0;
# 2153|   }
# 2154|   

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

Error: CLANG_WARNING: [#def3]
libndp-1.9-build/libndp-1.9/utils/ndptool.c:472:2: warning[deadcode.DeadStores]: Value stored to 'argc' is never read
#  470|   	argv += optind;
#  471|   	cmd_name = *argv++;
#  472|-> 	argc -= optind + 1;
#  473|   
#  474|   	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.9-1.fc41
store-results-to/tmp/tmpbmqiuohg/libndp-1.9-1.fc41.tar.xz
time-created2024-07-03 14:51:56
time-finished2024-07-03 14:52:45
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-41-x86_64' '-t' 'cppcheck,gcc,clang,shellcheck' '-o' '/tmp/tmpbmqiuohg/libndp-1.9-1.fc41.tar.xz' '--gcc-analyze' '/tmp/tmpbmqiuohg/libndp-1.9-1.fc41.src.rpm'
tool-versioncsmock-3.5.3-1.el9