Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
mpich-5.0.0b1/src/include/mpir_datatype.h:489:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'array_of_sizes'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
mpich-5.0.0b1/src/include/mpiimpl.h:157: included_from: Included from here.
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:125:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:126:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c: scope_hint: In function 'MPIR_Type_create_subarray'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:126:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:127:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c: scope_hint: In function 'MPIR_Type_create_subarray'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:127:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
mpich-5.0.0b1/src/include/mpir_datatype.h:488:13: note: in expansion of macro 'MPIR_Assert'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
mpich-5.0.0b1/src/include/mpir_datatype.h:488:13: note: in expansion of macro 'MPIR_Assert'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
mpich-5.0.0b1/src/mpi/datatype/type_create_subarray.c:21:5: note: in expansion of macro 'MPIR_Datatype_get_extent_macro'
#  487|                MPIR_Handle_get_ptr_indirect(a,&MPIR_Datatype_mem));       \
#  488|               MPIR_Assert(ptr != NULL);                                   \
#  489|->             extent_ = ((MPIR_Datatype *) ptr)->extent;                  \
#  490|               break;                                                      \
#  491|           case HANDLE_KIND_INVALID:                                       \

Scan Properties

analyzer-version-clippy1.97.1
analyzer-version-cppcheck2.21.1
analyzer-version-gcc16.1.1
analyzer-version-gcc-analyzer16.1.1
analyzer-version-shellcheck0.11.0
analyzer-version-unicontrol0.0.2
diffbase-analyzer-version-clippy1.97.1
diffbase-analyzer-version-cppcheck2.21.1
diffbase-analyzer-version-gcc16.1.1
diffbase-analyzer-version-gcc-analyzer16.1.1
diffbase-analyzer-version-shellcheck0.11.0
diffbase-analyzer-version-unicontrol0.0.2
diffbase-enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
diffbase-exit-code0
diffbase-hostip-172-16-1-140.us-west-2.compute.internal
diffbase-known-false-positives/usr/share/csmock/known-false-positives.js
diffbase-known-false-positives-rpmknown-false-positives-0.0.0.20260812.073944.g55de5c3.main-1.el9.noarch
diffbase-mock-configfedora-rawhide-x86_64
diffbase-project-namempich-5.0.0b1-1.20260813063933240830.pr7934.531.ga0caf0e3c4
diffbase-store-results-to/tmp/tmpn8796ohs/mpich-5.0.0b1-1.20260813063933240830.pr7934.531.ga0caf0e3c4.tar.xz
diffbase-time-created2026-08-13 08:22:16
diffbase-time-finished2026-08-13 09:43:53
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpn8796ohs/mpich-5.0.0b1-1.20260813063933240830.pr7934.531.ga0caf0e3c4.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpn8796ohs/mpich-5.0.0b1-1.20260813063933240830.pr7934.531.ga0caf0e3c4.src.rpm'
diffbase-tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9
enabled-pluginsclippy, cppcheck, gcc, shellcheck, unicontrol
exit-code0
hostip-172-16-1-140.us-west-2.compute.internal
known-false-positives/usr/share/csmock/known-false-positives.js
known-false-positives-rpmknown-false-positives-0.0.0.20260812.073944.g55de5c3.main-1.el9.noarch
mock-configfedora-rawhide-x86_64
project-namempich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b
store-results-to/tmp/tmp46dix4yw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz
time-created2026-08-13 06:52:03
time-finished2026-08-13 08:21:11
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp46dix4yw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp46dix4yw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.src.rpm'
tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9