mirror of
https://git.openafs.org/openafs.git
synced 2025-01-18 15:00:12 +00:00
STABLE14-windows-lanahelper-20071001
uninitialized variable in lana_IsLoopback
(cherry picked from commit 7890ce9ead
)
This commit is contained in:
parent
6ec3976304
commit
8ace88dfb7
@ -445,6 +445,7 @@ extern "C" BOOL lana_IsLoopback(lana_number_t lana)
|
||||
|
||||
rv = RegOpenKeyEx(HKEY_LOCAL_MACHINE,AFSREG_CLT_SVC_PARAM_SUBKEY,0,KEY_READ,&hkConfig);
|
||||
if (rv == ERROR_SUCCESS) {
|
||||
dummyLen = sizeof(regLana);
|
||||
rv = RegQueryValueEx(hkConfig, szForceLanaLoopback, NULL, NULL, (LPBYTE) ®Lana, &dummyLen);
|
||||
RegCloseKey(hkConfig);
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user