Author: tfaber
Date: Mon Feb 20 16:07:05 2017
New Revision: 73860
URL:
http://svn.reactos.org/svn/reactos?rev=73860&view=rev
Log:
[BROWSEUI]
- Correctly pass the buffer size to RegQueryValueW in CAutoComplete::Init. Patch by Víctor
Martínez Calvo. CID 1401255
CORE-12795 #resolve
Modified:
trunk/reactos/dll/win32/browseui/CAutoComplete.cpp
Modified: trunk/reactos/dll/win32/browseui/CAutoComplete.cpp
URL:
http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/browseui/CAutoCo…
==============================================================================
--- trunk/reactos/dll/win32/browseui/CAutoComplete.cpp [iso-8859-1] (original)
+++ trunk/reactos/dll/win32/browseui/CAutoComplete.cpp [iso-8859-1] Mon Feb 20 16:07:05
2017
@@ -184,6 +184,7 @@
if (res == ERROR_SUCCESS)
{
+ len = sizeof(result);
res = RegQueryValueW(hKey, value, result, &len);
if (res == ERROR_SUCCESS)
{