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);
analyzer-version-clippy | 1.82.0 |
analyzer-version-cppcheck | 2.16.0 |
analyzer-version-gcc | 14.2.1 |
analyzer-version-gcc-analyzer | 15.0.0 |
analyzer-version-shellcheck | 0.10.0 |
analyzer-version-unicontrol | 0.0.2 |
diffbase-analyzer-version-clippy | 1.82.0 |
diffbase-analyzer-version-cppcheck | 2.16.0 |
diffbase-analyzer-version-gcc | 14.2.1 |
diffbase-analyzer-version-gcc-analyzer | 15.0.0 |
diffbase-analyzer-version-shellcheck | 0.10.0 |
diffbase-analyzer-version-unicontrol | 0.0.2 |
diffbase-enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
diffbase-exit-code | 0 |
diffbase-host | ip-172-16-1-24.us-west-2.compute.internal |
diffbase-mock-config | fedora-rawhide-gcc-latest-x86_64 |
diffbase-project-name | device-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-created | 2024-11-12 23:36:02 |
diffbase-time-finished | 2024-11-12 23:38:13 |
diffbase-tool | csmock |
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-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |
enabled-plugins | clippy, cppcheck, gcc, shellcheck, unicontrol |
exit-code | 0 |
host | ip-172-16-1-24.us-west-2.compute.internal |
mock-config | fedora-rawhide-gcc-latest-x86_64 |
project-name | device-mapper-multipath-0.10.0-2.fc42 |
store-results-to | /tmp/tmp0cunsyh1/device-mapper-multipath-0.10.0-2.fc42.tar.xz |
time-created | 2024-11-12 23:38:25 |
time-finished | 2024-11-12 23:40:13 |
title | Newly introduced findings |
tool | csmock |
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-version | csmock-3.7.1.20241107.094801.gb3f0f26.pr_192-1.el9 |