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

Sebastian Lackner sebastian at fds-team.de
Mon Feb 29 10:03:28 CST 2016


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).




More information about the wine-devel mailing list