Merge pull request #71 from avikram2/master
Fixed Buffer Size for reading MSMPI_ACCEPT_HOST env variable for long Quad-dotted IPv4 Addresses
This commit is contained in:
Коммит
f2d849ff48
|
@ -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",
|
||||
|
|
Загрузка…
Ссылка в новой задаче