Commit 8934a98f authored by Paul Bakker's avatar Paul Bakker
Browse files

- Fixed memcpy() that had possible overlapping areas to memmove()

parent 968bc983
......@@ -996,7 +996,7 @@ int ssl_read_record( ssl_context *ssl )
*/
ssl->in_msglen -= ssl->in_hslen;
memcpy( ssl->in_msg, ssl->in_msg + ssl->in_hslen,
memmove( ssl->in_msg, ssl->in_msg + ssl->in_hslen,
ssl->in_msglen );
ssl->in_hslen = 4;
......
Markdown is supported
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