diff --git a/src/mpi/msmpi/mpid/DynProcServer.cpp b/src/mpi/msmpi/mpid/DynProcServer.cpp index a9b9485..3efd38e 100644 --- a/src/mpi/msmpi/mpid/DynProcServer.cpp +++ b/src/mpi/msmpi/mpid/DynProcServer.cpp @@ -292,7 +292,7 @@ AdjustBindingHost( RPC_STATUS status; HRESULT hr; - char friendlyName[MAX_COMPUTERNAME_LENGTH]; + char friendlyName[MAX_COMPUTERNAME_LENGTH+1]; friendlyName[0] = '\0'; DWORD err = MPIU_Getenv( "MSMPI_ACCEPT_HOST",