Tests for bug 2686
Ann and Jason Edmeades
us at the-edmeades.demon.co.uk
Mon Feb 7 16:14:26 CST 2005
Here's some tests which show the problem reported as bug 2686. I tried to
find a way to fix it but its not simple. (Note I can only confirm that XP
behaves as described).
I'd call this problem a challenge for anyone which understands the heap
management code! Its 'simple' to fix inefficiently (ie add the original size
requested to the allocation header) but this is a real waste of memory since
we store the size rounded up. The problem is we make use of the lower 3
bytes of the size for flags, and ensure the block is of at least a certain
Add tests for querying the size of a smaller allocation block.
-------------- next part --------------
A non-text attachment was scrubbed...
Size: 1653 bytes
Desc: not available
Url : http://www.winehq.org/pipermail/wine-patches/attachments/20050207/cdd0c333/2686.tests.obj
More information about the wine-patches