ntdll: Avoid shrinking large heap block to small block.
commit63fb16338c4017a80cbe49d0f5f232babb1a5f1a
authorRémi Bernon <rbernon@codeweavers.com>
Mon, 20 Feb 2023 13:20:20 +0000 (20 14:20 +0100)
committerAlexandre Julliard <julliard@winehq.org>
Thu, 23 Feb 2023 16:24:15 +0000 (23 17:24 +0100)
treeea0beb5e3b451669d6e0950809d32c5eb9bf771d
parent26c1edf4b242f75fb6af45ec67afbde3d9587bd4
ntdll: Avoid shrinking large heap block to small block.

Even though this is a waste of memory it seems to trip on some UAF with
some games.

Wine-Bug: https://bugs.winehq.org/show_bug.cgi?id=54475
dlls/ntdll/heap.c