From 8ace88dfb72889d620ea021ec182656d3535aab8 Mon Sep 17 00:00:00 2001 From: Jeffrey Altman Date: Mon, 1 Oct 2007 21:07:14 +0000 Subject: [PATCH] STABLE14-windows-lanahelper-20071001 uninitialized variable in lana_IsLoopback (cherry picked from commit 7890ce9eade282398c06c00166b43e7d23151944) --- src/WINNT/afsd/lanahelper.cpp | 1 + 1 file changed, 1 insertion(+) diff --git a/src/WINNT/afsd/lanahelper.cpp b/src/WINNT/afsd/lanahelper.cpp index 803c02d423..d7f9a4eb83 100644 --- a/src/WINNT/afsd/lanahelper.cpp +++ b/src/WINNT/afsd/lanahelper.cpp @@ -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);