Newly introduced findings

List of Findings

Error: CPPCHECK_WARNING (CWE-401): [#def1]
dhcpcd-10.0.10-build/dhcpcd-10.0.10/src/ipv4ll.c:247: error[memleak]: Memory leak: ia
#  245|   			return;
#  246|   		}
#  247|-> 		ia = ipv4_addaddr(ifp, &state->pickedaddr,
#  248|   		    &inaddr_llmask, &inaddr_llbcast,
#  249|   		    DHCP_INFINITE_LIFETIME, DHCP_INFINITE_LIFETIME);

Error: GCC_ANALYZER_WARNING (CWE-401): [#def2]
dhcpcd-10.0.10-build/dhcpcd-10.0.10/src/ipv4ll.c: scope_hint: In function ‘ipv4ll_not_found’
dhcpcd-10.0.10-build/dhcpcd-10.0.10/src/ipv4ll.c:251:12: warning[-Wanalyzer-malloc-leak]: leak of ‘ia’
#  249|   		    DHCP_INFINITE_LIFETIME, DHCP_INFINITE_LIFETIME);
#  250|   	}
#  251|-> 	if (ia == NULL)
#  252|   		return;
#  253|   #ifdef IN_IFF_NOTREADY

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
diffbase-analyzer-version-clippy1.82.0
diffbase-analyzer-version-cppcheck2.16.0
diffbase-analyzer-version-gcc14.2.1
diffbase-analyzer-version-gcc-analyzer15.0.0
diffbase-analyzer-version-shellcheck0.10.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-135.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namedhcpcd-10.0.8-1.fc41
diffbase-store-results-to/tmp/tmpyi7xiezk/dhcpcd-10.0.8-1.fc41.tar.xz
diffbase-time-created2024-11-12 23:44:24
diffbase-time-finished2024-11-12 23:46:23
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpyi7xiezk/dhcpcd-10.0.8-1.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpyi7xiezk/dhcpcd-10.0.8-1.fc41.src.rpm'
diffbase-tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-135.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedhcpcd-10.0.10-1.fc42
store-results-to/tmp/tmpzsgwaym6/dhcpcd-10.0.10-1.fc42.tar.xz
time-created2024-11-12 23:46:48
time-finished2024-11-12 23:48:21
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmpzsgwaym6/dhcpcd-10.0.10-1.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmpzsgwaym6/dhcpcd-10.0.10-1.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9