mirror of
https://github.com/reactos/reactos.git
synced 2025-01-05 22:12:46 +00:00
[OLE32]
- 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:
parent
6e9014fd5b
commit
ba51763c03
1 changed files with 1 additions and 1 deletions
|
@ -229,7 +229,7 @@ static HRESULT COMCAT_IsClassOfCategories(
|
||||||
if (res != ERROR_SUCCESS) return S_FALSE;
|
if (res != ERROR_SUCCESS) return S_FALSE;
|
||||||
for (string = impl_strings; *string; string += CHARS_IN_GUID) {
|
for (string = impl_strings; *string; string += CHARS_IN_GUID) {
|
||||||
HKEY catkey;
|
HKEY catkey;
|
||||||
res = open_classes_key(subkey, string, 0, &catkey);
|
res = open_classes_key(subkey, string, READ_CONTROL, &catkey);
|
||||||
if (res != ERROR_SUCCESS) {
|
if (res != ERROR_SUCCESS) {
|
||||||
RegCloseKey(subkey);
|
RegCloseKey(subkey);
|
||||||
return S_FALSE;
|
return S_FALSE;
|
||||||
|
|
Loading…
Reference in a new issue