mirror of
https://github.com/reactos/reactos.git
synced 2025-02-24 09:25:10 +00:00
- Fixed an issue with Avira AntiVir Personal, reported by Christoph von Wittich.
- GetLastActivePopup is unimplemented and returns a zero. So User32 locally checks and sees the zero and passes it to win32k for processing. There an (kbug) exception is thrown. svn path=/trunk/; revision=34274
This commit is contained in:
parent
020dfee9f8
commit
8e5bf80622
1 changed files with 2 additions and 0 deletions
|
@ -3634,6 +3634,8 @@ co_UserSetWindowLong(HWND hWnd, DWORD Index, LONG NewValue, BOOL Ansi)
|
|||
|
||||
Wnd = Window->Wnd;
|
||||
|
||||
if (!Wnd) return 0; // No go on zero.
|
||||
|
||||
if ((INT)Index >= 0)
|
||||
{
|
||||
if ((Index + sizeof(LONG)) > Wnd->ExtraDataSize)
|
||||
|
|
Loading…
Reference in a new issue