Newly introduced defects

List of Defects

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
util-linux-2.41.devel-build/util-linux-2.41.devel/disk-utils/fdformat.c:127:49: warning[-Wanalyzer-possible-null-dereference]: dereference of possibly-NULL ‘xmalloc((long unsigned int)track_size)’
util-linux-2.41.devel-build/util-linux-2.41.devel/disk-utils/fdformat.c:20: included_from: Included from here.
#  125|   				}
#  126|   				for (count = 0; count < track_size; count++)
#  127|-> 					if (data[count] != FD_FILL_BYTE) {
#  128|   						if (retries_left) {
#  129|   							format_begin(ctrl);

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-38.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-nameutil-linux-2.41.devel-1.20240805115122209607.master.614.ga75c7a102
diffbase-store-results-to/tmp/tmp4h3z7tsc/util-linux-2.41.devel-1.20240805115122209607.master.614.ga75c7a102.tar.xz
diffbase-time-created2024-08-06 03:12:59
diffbase-time-finished2024-08-06 03:20:57
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,cppcheck' '-o' '/tmp/tmp4h3z7tsc/util-linux-2.41.devel-1.20240805115122209607.master.614.ga75c7a102.tar.xz' '--gcc-analyze' '--cppcheck-add-flag=--check-level=exhaustive' '/tmp/tmp4h3z7tsc/util-linux-2.41.devel-1.20240805115122209607.master.614.ga75c7a102.src.rpm'
diffbase-tool-versioncsmock-3.6.1-1.el9
enabled-pluginscppcheck, gcc, shellcheck
exit-code0
hostip-172-16-1-38.us-west-2.compute.internal
mock-configfedora-rawhide-x86_64
project-nameutil-linux-2.41.devel-1.20240806030131736746.pr3144.615.ga215ffe6b
store-results-to/tmp/tmp3gipoa9e/util-linux-2.41.devel-1.20240806030131736746.pr3144.615.ga215ffe6b.tar.xz
time-created2024-08-06 03:21:15
time-finished2024-08-06 03:28:35
titleNewly introduced defects
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,shellcheck,cppcheck' '-o' '/tmp/tmp3gipoa9e/util-linux-2.41.devel-1.20240806030131736746.pr3144.615.ga215ffe6b.tar.xz' '--gcc-analyze' '--cppcheck-add-flag=--check-level=exhaustive' '/tmp/tmp3gipoa9e/util-linux-2.41.devel-1.20240806030131736746.pr3144.615.ga215ffe6b.src.rpm'
tool-versioncsmock-3.6.1-1.el9