msvcrt heap: fix _aligned_offset_realloc (move correct block of memory); add a comment to explain why. [try2]

Lionel Debroux lionel_debroux at
Wed Nov 28 06:03:16 CST 2007

Patch revised after Alexandre's input. It's not unsafe to always copy "size" bytes, but in case
the block was grown, we can copy less than (new) "size" bytes.

The other patch, which adds tests to the msvcrt heap tests, is unchanged.

Yahoo! Mail innove : interface hyper pratique, messenger intégré, couleurs -
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-msvcrt-fix-_aligned_offset_realloc-move-correct-bl.patch
Type: text/x-diff
Size: 0 bytes
Desc: 2785475203-0001-msvcrt-fix-_aligned_offset_realloc-move-correct-bl.patch
Url : 

More information about the wine-patches mailing list