winhelp: bug fix in LZ77 decompressor
Michael Stefaniuc
mstefani at redhat.com
Tue Aug 8 05:26:39 CDT 2006
HolyLich wrote:
> ChangeLog:
> Fix rather unusual bug in LZ77 decompressor. We cannot use memcpy
> with overlapped areas because of unpredictable result. We must copy
> byte-by-byte.
Why don't you use memmove instead? The man page for memcpy says:
Use memmove(3) if the memory areas do overlap.
bye
michael
--
Michael Stefaniuc Tel.: +49-711-96437-199
Sr. Network Engineer Fax.: +49-711-96437-111
Red Hat GmbH Email: mstefani at redhat.com
Hauptstaetterstr. 58 http://www.redhat.de/
D-70178 Stuttgart
More information about the wine-devel
mailing list