Make Size Returned from HeapSize Always Match The Requested Size
(Try 2)
Robert Shearman
rob at codeweavers.com
Sun Jul 10 19:01:06 CDT 2005
Hi,
Change since last patch: steal bits from magic field instead of
increasing the size of the arena by 8 bytes.
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: 8096 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050710/23f27565/heap.bin
More information about the wine-patches
mailing list