[PATCH v2] user32: Make sure that passed window handle is scroll control before accessing wExtra in SCROLL_GetInternalInfo.

Jacek Caban jacek at codeweavers.com
Thu Sep 20 09:48:55 CDT 2018


Fixes memory corruption in Office 2016.

Signed-off-by: Jacek Caban <jacek at codeweavers.com>
---
 dlls/user32/scroll.c       |  3 ++-
 dlls/user32/tests/scroll.c | 21 +++++++++++++++++++++
 2 files changed, 23 insertions(+), 1 deletion(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: v2-0001-user32-Make-sure-that-passed-window-handle-is-scro.diff
Type: text/x-patch
Size: 2505 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-devel/attachments/20180920/4e8f4efa/attachment.bin>


More information about the wine-devel mailing list