[3/3] windowscodecs: Use memmove in StreamOnMemory::Read and StreamOnMemory::Write to cope with potentially overlapped memory copying.

Andrew Nguyen anguyen at codeweavers.com
Fri Jan 21 05:03:19 CST 2011


Spotted with Valgrind.
---
 dlls/windowscodecs/stream.c       |    4 +-
 dlls/windowscodecs/tests/stream.c |   50 ++++++++++++++++++++++++++++++++++++-
 2 files changed, 51 insertions(+), 3 deletions(-)


-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0003-windowscodecs-Use-memmove-in-StreamOnMemory-Read-and-S.txt
Type: text/x-patch
Size: 5252 bytes
Desc: not available
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110121/467b9a59/attachment-0001.bin>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 899 bytes
Desc: OpenPGP digital signature
URL: <http://www.winehq.org/pipermail/wine-patches/attachments/20110121/467b9a59/attachment-0001.pgp>


More information about the wine-patches mailing list