Use memmove rather than memcpy here, since the source and destination will
authorDan Winship <danw@src.gnome.org>
Tue, 3 Feb 2004 17:16:54 +0000 (17:16 +0000)
committerDan Winship <danw@src.gnome.org>
Tue, 3 Feb 2004 17:16:54 +0000 (17:16 +0000)
commit9c2e77163480a21059dfeef06602363df29dfc91
tree1d7ab0414524b9f088012d9f73ca1eb2dfc4a097
parentef972798309087651a4976d02f02510b995a527a
Use memmove rather than memcpy here, since the source and destination will

        * libsoup/soup-socket.c (read_from_buf): Use memmove rather than
        memcpy here, since the source and destination will overlap if
        *nread is small and read_buf->len is large. (Noticed by valgrind,
        #53625.)
ChangeLog
libsoup/soup-socket.c