Make Size Returned from HeapSize Always Match The Requested Size

Robert Shearman rob at codeweavers.com
Fri Jul 8 11:27:45 CDT 2005


Hi,

An application I have seen depends on HeapSize returning the size that 
was passed into HeapAllocate or HeapReAllocate otherwise it will 
overflow the memory given to it.

Changelog:
- Make the value returned from HeapSize always match the requested size 
passed into HeapAllocate/HeapReAllocate.
- Add a test for this behaviour.

-- 
Rob Shearman

-------------- next part --------------
A non-text attachment was scrubbed...
Name: heap.diff
Type: text/x-patch
Size: 7703 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050708/e5b18aad/heap.bin


More information about the wine-patches mailing list