Description
I have attached a simple Win32 application that will reproducibly cause a NULL pointer dereference in win32ss/user/ntuser/winpos.c:404 (the end result is a BSOD). The problem occurs when GetWindowPlacement() is called with GetDesktopWindow() as the first parameter.
For convenience, I have attached both the source file and the compiled exe that reproduce the error.