ntdll: Don't try to map the PE file past the size of the backing file.
commita0772da5cf507b10800d5358554d682f82f48724
authorDmitry Timoshkov <dmitry@baikal.ru>
Wed, 6 May 2020 07:15:56 +0000 (6 15:15 +0800)
committerAlexandre Julliard <julliard@winehq.org>
Fri, 15 May 2020 09:42:22 +0000 (15 11:42 +0200)
treec7207be1879189525feb40368eadc9ea3c3b0b8b
parentae9eb36e21c9b8e31b1e4a4c1eb6deae9b90262d
ntdll: Don't try to map the PE file past the size of the backing file.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=42125
Signed-off-by: Dmitry Timoshkov <dmitry@baikal.ru>
Signed-off-by: Alexandre Julliard <julliard@winehq.org>
dlls/ntdll/virtual.c