From eed4ec2fd9c38d7d64e5cf56a5bf59579e555199 Mon Sep 17 00:00:00 2001 From: Ayush Vikram <54920638+avikram2@users.noreply.github.com> Date: Tue, 5 Mar 2024 15:49:37 -0800 Subject: [PATCH] Update DynProcServer.cpp --- src/mpi/msmpi/mpid/DynProcServer.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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",