krnl386.exe: Page-align the GlobalAlloc() size when the selector limit is in pages.
commit1c5e4d066f6cfd65cc5ad729ce6e8aff53e20939
authorAlexandre Julliard <julliard@winehq.org>
Sun, 12 Dec 2021 16:57:55 +0000 (12 17:57 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Sun, 12 Dec 2021 16:59:05 +0000 (12 17:59 +0100)
treea84528877158dc5435fd7a424274952ad0a29728
parent40d706caba24a3a3de8ec4d5c80f9866fc8415de
krnl386.exe: Page-align the GlobalAlloc() size when the selector limit is in pages.

GlobalSize() uses the selector limit and that needs to match the
allocated size.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=52082
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/krnl386.exe16/global.c