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: [EMAIL PROTECTED]
Hauptstaetterstr. 58            http://www.redhat.de/
D-70178 Stuttgart


Reply via email to