mirror of
https://github.com/reactos/reactos.git
synced 2025-08-07 08:33:11 +00:00
[0.4.10][WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu CORE-15512
It is rare, but I have seen this crash happening as well
when interacting with the taskbar quickly after the boot.
fix picked from 0.4.12-dev-203-g c526f94
This commit is contained in:
parent
b481debf01
commit
6be79eaefa
1 changed files with 1 additions and 1 deletions
|
@ -5454,7 +5454,7 @@ NtUserGetSystemMenu(HWND hWnd, BOOL bRevert)
|
||||||
DECLARE_RETURN(HMENU);
|
DECLARE_RETURN(HMENU);
|
||||||
|
|
||||||
TRACE("Enter NtUserGetSystemMenu\n");
|
TRACE("Enter NtUserGetSystemMenu\n");
|
||||||
UserEnterShared();
|
UserEnterExclusive();
|
||||||
|
|
||||||
if (!(Window = UserGetWindowObject(hWnd)))
|
if (!(Window = UserGetWindowObject(hWnd)))
|
||||||
{
|
{
|
||||||
|
|
Loading…
Add table
Add a link
Reference in a new issue