mirror of
https://git.openafs.org/openafs.git
synced 2025-01-31 05:27:44 +00:00
DEVEL15-windows-cellconfig-20090630
LICENSE MIT nul terminate the correct variable (cherry picked from commit ad6a8942db587b2c5b9aaee6a3e8e89b69e3918c)
This commit is contained in:
parent
3d2baea9ee
commit
5e61d215ae
@ -289,7 +289,7 @@ long cm_SearchCellFileEx(char *cellNamep, char *newCellNamep,
|
||||
/* copy just the first word and ignore trailing white space */
|
||||
for ( i=0; valuep[i] && !isspace(valuep[i]) && i<sizeof(hostname); i++)
|
||||
hostname[i] = valuep[i];
|
||||
valuep[i] = '\0';
|
||||
hostname[i] = '\0';
|
||||
|
||||
/* add the server to the VLDB list */
|
||||
WSASetLastError(0);
|
||||
|
Loading…
x
Reference in New Issue
Block a user