Module: wine Branch: master Commit: caad1672782a20c813bc07daead13348263fea37 URL: https://gitlab.winehq.org/wine/wine/-/commit/caad1672782a20c813bc07daead1334...
Author: Jacek Caban jacek@codeweavers.com Date: Tue Aug 16 12:35:09 2022 +0200
win32u: Use a client copy of windows hook lparam when calling hook procs.
Instead of leaking kernel pointers.
---
dlls/user32/hook.c | 38 +++++++++++++- dlls/user32/user_private.h | 2 +- dlls/win32u/defwnd.c | 6 +-- dlls/win32u/hook.c | 116 +++++++++++++++++++++++++++++++++---------- dlls/win32u/input.c | 6 +-- dlls/win32u/message.c | 28 ++++++----- dlls/win32u/tests/win32u.c | 1 - dlls/win32u/win32u_private.h | 3 +- dlls/win32u/window.c | 10 ++-- include/ntuser.h | 2 +- 10 files changed, 157 insertions(+), 55 deletions(-)