Commit 31abef3c authored by Per Cederqvist's avatar Per Cederqvist
Browse files

(isc_oflush): Use memmove, not memcpy, to move memory areas that may

parent b2b3129c
......@@ -170,7 +170,7 @@ isc_oflush(struct isc_scb_internal *scb)
/* The write handler could not transmit the whole buffer */
failed = 1;
if (wlen > 0)
memcpy(msg->buffer, msg->buffer + wlen, msg->length);
memmove(msg->buffer, msg->buffer + wlen, msg->length);
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment