ntdll: reg.c: Fix return value of NtOpenKey when key handle is NULL

Zac Brown zac at zacbrown.org
Thu Jun 19 23:52:11 CDT 2008


Zac Brown wrote:
> Change return value from STATUS_INVALID_PARAMETER to 
> STATUS_ACCESS_VIOLATION when retkey is null in NtOpenKey and remove 
> todo_wine from test.
> 
> Tested on Windows XP, Windows 2000 and Windows 2003.
> 
> -Zac Brown
> 
> 
> ------------------------------------------------------------------------
> 
> 

Could anyone give me some feedback on this patch?

Talked to AJ about it pre-1.0 and he seemed to think its fine, maybe he'd chime 
in and let me know what he thought was wrong with it this time around?

Comments are greatly appreciated.

-Zac



More information about the wine-devel mailing list