- Do not open registry keys with no access rights. Will be sent to Wine after 1.8 code freeze.
CORE-10587

svn path=/trunk/; revision=70149
This commit is contained in:
Thomas Faber 2015-11-27 11:27:21 +00:00
parent 6e9014fd5b
commit ba51763c03

View file

@ -229,7 +229,7 @@ static HRESULT COMCAT_IsClassOfCategories(
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;