Skip to content

Commit

Permalink
Merge pull request #71 from avikram2/master
Browse files Browse the repository at this point in the history
Fixed Buffer Size for reading MSMPI_ACCEPT_HOST env variable for long Quad-dotted IPv4 Addresses
  • Loading branch information
avikram2 authored Mar 6, 2024
2 parents 7ff6bdc + eed4ec2 commit f2d849f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/mpi/msmpi/mpid/DynProcServer.cpp
Original file line number Diff line number Diff line change
Expand Up @@ -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",
Expand Down

0 comments on commit f2d849f

Please sign in to comment.