[2/4] ntdll: add support for the HEAP_FREE_CHECKING_ENABLED style of heap overrun detection.

Alexandre Julliard julliard at winehq.org
Wed Dec 2 04:58:34 CST 2009


Dan Kegel <dank at kegel.com> writes:

> On Tue, Dec 1, 2009 at 11:22 AM, Alexandre Julliard <julliard at winehq.org> wrote:
>> Validation should only happen when explicitly requested.
>
> Should I submit a separate patch to remove the existing small arena
> validation from RtlFreeHeap and RtlReAllocateHeap, then?

No. These are not here as debug aids, but to catch some cases of bad
pointers passed from apps that could cause heap corruption. There's no
evidence that the same thing is necessary for large blocks.

-- 
Alexandre Julliard
julliard at winehq.org



More information about the wine-devel mailing list