ole32: Do not open registry keys with no access rights.

Thomas Faber thomas.faber at reactos.org
Mon Feb 29 11:15:59 CST 2016


On 2016-02-29 17:03, Sebastian Lackner wrote:
> On 29.02.2016 16:49, Thomas Faber wrote:
>> While simply opening a subkey (as done here) does not require any
>> access rights in particular, NtOpenKey with 0 desired access always
>> fails with STATUS_ACCESS_DENIED on Windows.
>> Consequently specifying a nonzero access is a prerequisite for some day
>> fixing Wine's NtOpenKey behavior in this regard.
> 
> It would be nice to have tests for that in the wine source tree
> (marked with todo_wine, until all places which rely on it have been fixed).

It definitely would!
Patch submitted.

Thanks,
Thomas



More information about the wine-devel mailing list