Task #134937 - fixed.err
back to task #134937download
Error: GCC_ANALYZER_WARNING (CWE-476): 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): 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: \