iputils-20240905-1.fc42

List of Findings

Error: CPPCHECK_WARNING (CWE-457): [#def1]
iputils-20240905-build/iputils-20240905/ifenslave.c:623: error[uninitvar]: Uninitialized variable: info
#  621|   	memset(&ifr, 0, sizeof(ifr));
#  622|   	strncpy(ifr.ifr_name, master_ifname, IFNAMSIZ);
#  623|-> 	ifr.ifr_data = (caddr_t)&info;
#  624|   
#  625|   	info.cmd = ETHTOOL_GDRVINFO;

Error: CPPCHECK_WARNING (CWE-562): [#def2]
iputils-20240905-build/iputils-20240905/ping/ping.c:843: error[autoVariables]: Address of local auto-variable assigned to a function parameter.
#  841|   				strncpy(hnamebuf, target, sizeof hnamebuf - 1);
#  842|   
#  843|-> 			rts->hostname = hnamebuf;
#  844|   
#  845|   			if (argc > 1)

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
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-106.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-nameiputils-20240905-1.fc42
store-results-to/tmp/tmpy0wk1y5s/iputils-20240905-1.fc42.tar.xz
time-created2024-11-13 00:20:29
time-finished2024-11-13 00:21:48
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpy0wk1y5s/iputils-20240905-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpy0wk1y5s/iputils-20240905-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9