[PATCH 2/2] ntdll: When using HEAP_ZERO_MEMORY in heap allocation functions, don't clear the whole block.

Robert Shearman rob at codeweavers.com
Wed Feb 20 06:57:30 CST 2008


Instead only clear the number of bytes requested and mark the remainder 
as uninitialised.
---
  dlls/ntdll/heap.c |   12 ++++++++++--
  1 files changed, 10 insertions(+), 2 deletions(-)

This behaviour in confirmed to match that of XP SP2.
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 127658961855d9c1b6eb2999e804214ef3ffc3c6.diff
Type: text/x-patch
Size: 1604 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20080220/7384e9b3/attachment.bin 


More information about the wine-patches mailing list