ntdll: add partial support for HEAP_FREE_CHECKING_ENABLED heap overrun detection (take 2)

Dan Kegel dank at kegel.com
Wed Dec 2 23:38:53 CST 2009


This patch just fills the padding region, it doesn't validate it
at all (unless you're running valgrind).  Validation will
come in a later patch once Alexandre reviews this one.

Other changes since first posted:
- use right type for loop variable
- don't cast pointer to int
- move tests to kernel32/tests/heap.c
- create separate heap so wine developers don't need to enable heap
debugging on default heap

Tests pass on Wine and Vista.  Valgrind seems happy with it, too.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: mobetta.patch
Type: text/x-patch
Size: 12050 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20091202/e387c629/attachment-0001.bin>


More information about the wine-patches mailing list