Fixed findings

List of Findings

Error: GCC_ANALYZER_WARNING (CWE-476): [#def1]
mpich-5.0.0b1/src/include/mpir_gpu.h:9: included_from: Included from here.
mpich-5.0.0b1/src/include/mpiimpl.h:185: included_from: Included from here.
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c: scope_hint: In function 'internal_Mrecv_c'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:49: warning[-Wanalyzer-null-dereference]: dereference of NULL 'message_ptr'
mpich-5.0.0b1/src/include/mpir_err.h:1024:13: note: in definition of macro 'MPIR_ERR_CHKANDSTMT'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:17: note: in expansion of macro 'MPIR_ERR_CHKANDJUMP'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:355:5: note: in expansion of macro 'MPI_Mrecv_c'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:231:9: note: in expansion of macro 'MPID_BEGIN_ERROR_CHECKS'
mpich-5.0.0b1/src/include/mpiimpl.h:155: included_from: Included from here.
mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr'
mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr'
mpich-5.0.0b1/src/include/mpir_pointers.h:24:13: note: in expansion of macro 'MPIR_Assert'
mpich-5.0.0b1/src/include/mpir_pointers.h:47:41: note: in expansion of macro 'MPIR_Valid_ptr_class'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:234:17: note: in expansion of macro 'MPIR_Request_valid_ptr'
mpich-5.0.0b1/src/include/mpir_err.h:1024:13: note: in definition of macro 'MPIR_ERR_CHKANDSTMT'
mpich-5.0.0b1/src/binding/c/pt2pt/mrecv.c:238:17: note: in expansion of macro 'MPIR_ERR_CHKANDJUMP'
#  236|                       goto fn_fail;
#  237|                   }
#  238|->                 MPIR_ERR_CHKANDJUMP((message_ptr->kind != MPIR_REQUEST_KIND__MPROBE),
#  239|                                       mpi_errno, MPI_ERR_ARG, "**reqnotmsg");
#  240|               }

Error: GCC_ANALYZER_WARNING (CWE-476): [#def2]
mpich-5.0.0b1/src/include/mpir_datatype.h:489:21: warning[-Wanalyzer-null-dereference]: dereference of NULL 'array_of_subsizes'
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:125: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:125:5: note: in expansion of macro 'MPIR_CHKLMEM_MALLOC'
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: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-192.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.20260813080904855819.pr7934.532.gc38a034153
diffbase-store-results-to/tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.tar.xz
diffbase-time-created2026-08-13 09:47:11
diffbase-time-finished2026-08-13 11:10:09
diffbase-toolcsmock
diffbase-tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmp2q77hzhd/mpich-5.0.0b1-1.20260813080904855819.pr7934.532.gc38a034153.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-192.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/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz
time-created2026-08-13 08:23:23
time-finished2026-08-13 09:46:04
titleFixed findings
toolcsmock
tool-args'/usr/bin/csmock' '-r' 'fedora-rawhide-x86_64' '-t' 'gcc,clippy,unicontrol,shellcheck,cppcheck' '-o' '/tmp/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.tar.xz' '--gcc-analyze' '--unicontrol-notests' '--unicontrol-bidi-only' '--install' 'pam' '/tmp/tmpnebp04iw/mpich-5.0.0b1-1.20260810183419475355.main.530.g2aa6207f2b.src.rpm'
tool-versioncsmock-3.8.7.20260810.142351.gef180f1-1.el9