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

Lionel Debroux lionel_debroux at yahoo.fr
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 - http://mail.yahoo.fr
-------------- 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 : http://www.winehq.org/pipermail/wine-patches/attachments/20071128/221dd83b/attachment.patch 


More information about the wine-patches mailing list