Newly introduced findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-401): [#def1]
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c: scope_hint: In function ‘mpath_prout_rel’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:635:9: warning[-Wanalyzer-malloc-leak]: leak of ‘<unknown>’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:14: included_from: Included from here.
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:70:9: note: in expansion of macro ‘vector_foreach_slot’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:71:17: note: in expansion of macro ‘vector_foreach_slot’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:21: included_from: Included from here.
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:539:9: note: in expansion of macro ‘condlog’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:539:9: note: in expansion of macro ‘condlog’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:70:9: note: in expansion of macro ‘vector_foreach_slot’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:71:17: note: in expansion of macro ‘vector_foreach_slot’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:81:25: note: in expansion of macro ‘condlog’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmultipath/byteorder.h:6: included_from: Included from here.
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmultipath/structs.h:10: included_from: Included from here.
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:17: included_from: Included from here.
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmultipath/byteorder.h:40:21: note: in expansion of macro ‘be64_to_cpu’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:574:13: note: in expansion of macro ‘get_be64’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:435:9: note: in expansion of macro ‘condlog’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:583:17: note: in expansion of macro ‘condlog’
device-mapper-multipath-0.10.0-build/multipath-tools-0.10.0/libmpathpersist/mpath_persist_int.c:583:17: note: in expansion of macro ‘condlog’
#  633|   	free(pptr);
#  634|   out1:
#  635|-> 	free (pamp);
#  636|   out:
#  637|   	free (pr_buff);

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-24.us-west-2.compute.internal
diffbase-mock-configfedora-rawhide-gcc-latest-x86_64
diffbase-project-namedevice-mapper-multipath-0.9.9-3.fc41
diffbase-store-results-to/tmp/tmphe8bnb6d/device-mapper-multipath-0.9.9-3.fc41.tar.xz
diffbase-time-created2024-11-12 23:36:02
diffbase-time-finished2024-11-12 23:38:13
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmphe8bnb6d/device-mapper-multipath-0.9.9-3.fc41.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmphe8bnb6d/device-mapper-multipath-0.9.9-3.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-24.us-west-2.compute.internal
mock-configfedora-rawhide-gcc-latest-x86_64
project-namedevice-mapper-multipath-0.10.0-2.fc42
store-results-to/tmp/tmp0cunsyh1/device-mapper-multipath-0.10.0-2.fc42.tar.xz
time-created2024-11-12 23:38:25
time-finished2024-11-12 23:40:13
titleNewly introduced findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-gcc-latest-x86_64' '-t' 'clippy,cppcheck,gcc,unicontrol,shellcheck' '-o' '/tmp/tmp0cunsyh1/device-mapper-multipath-0.10.0-2.fc42.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install=gcc-latest' '--gcc-analyzer-bin=/opt/gcc-latest/bin/gcc' '/tmp/tmp0cunsyh1/device-mapper-multipath-0.10.0-2.fc42.src.rpm'
tool-versioncsmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9