projects
/
reactos.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
25172bb
)
[0.4.7][WIN32K:NTUSER] Acquire the user lock exclusively in NtUserGetSystemMenu CORE...
author
Joachim Henze
<Joachim.Henze@reactos.org>
Thu, 3 Dec 2020 01:12:40 +0000
(
02:12
+0100)
committer
Joachim Henze
<Joachim.Henze@reactos.org>
Thu, 3 Dec 2020 01:12:40 +0000
(
02:12
+0100)
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
win32ss/user/ntuser/menu.c
patch
|
blob
|
history
diff --git
a/win32ss/user/ntuser/menu.c
b/win32ss/user/ntuser/menu.c
index
d162ad2
..
faf7c95
100644
(file)
--- a/
win32ss/user/ntuser/menu.c
+++ b/
win32ss/user/ntuser/menu.c
@@
-5435,7
+5435,7
@@
NtUserGetSystemMenu(HWND hWnd, BOOL bRevert)
DECLARE_RETURN(HMENU);
TRACE("Enter NtUserGetSystemMenu\n");
- UserEnter
Shared
();
+ UserEnter
Exclusive
();
if (!(Window = UserGetWindowObject(hWnd)))
{