[2/3] ntdll: fill unused tails of heap blocks if HEAP_FREE_CHECKING_ENABLED (take 3)

Dan Kegel dank at kegel.com
Thu Jan 7 17:12:25 CST 2010

This is just the tail-filling part of my last submission.
Changes since take 2:
- don't check global flags if too early in process setup.
- tiny simplification in the fill pattern code

To check whether we're too early in process setup to
check global flags, I compare the arguments of RtlCreateHeap
with the ones used by the call in virtual_init().  This is
not especially clean, but I couldn't think of anything
better.  I can hear Alexandre hitting the 'd' key already,
so if anyone has a better idea, please let me know.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-ntdll-fill-unused-tail-bytes-of-heap-allocations-if-.patch
Type: text/x-patch
Size: 7581 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20100107/1eacc67c/attachment.bin>

More information about the wine-patches mailing list