Author: tfaber Date: Fri Nov 27 11:27:21 2015 New Revision: 70149
URL: http://svn.reactos.org/svn/reactos?rev=70149&view=rev Log: [OLE32] - Do not open registry keys with no access rights. Will be sent to Wine after 1.8 code freeze. CORE-10587
Modified: trunk/reactos/dll/win32/ole32/comcat.c
Modified: trunk/reactos/dll/win32/ole32/comcat.c URL: http://svn.reactos.org/svn/reactos/trunk/reactos/dll/win32/ole32/comcat.c?re... ============================================================================== --- trunk/reactos/dll/win32/ole32/comcat.c [iso-8859-1] (original) +++ trunk/reactos/dll/win32/ole32/comcat.c [iso-8859-1] Fri Nov 27 11:27:21 2015 @@ -229,7 +229,7 @@ if (res != ERROR_SUCCESS) return S_FALSE; for (string = impl_strings; *string; string += CHARS_IN_GUID) { HKEY catkey; - res = open_classes_key(subkey, string, 0, &catkey); + res = open_classes_key(subkey, string, READ_CONTROL, &catkey); if (res != ERROR_SUCCESS) { RegCloseKey(subkey); return S_FALSE;