2e9b04
--- binutils.orig/libiberty/sha1.c	2021-05-07 10:47:11.572773217 +0100
2e9b04
+++ binutils-2.35.2/libiberty/sha1.c	2021-05-07 10:47:16.014741009 +0100
2e9b04
@@ -258,7 +258,7 @@ sha1_process_bytes (const void *buffer,
2e9b04
 	{
2e9b04
 	  sha1_process_block (ctx->buffer, 64, ctx);
2e9b04
 	  left_over -= 64;
2e9b04
-	  memcpy (ctx->buffer, &ctx->buffer[16], left_over);
2e9b04
+	  memmove (ctx->buffer, &ctx->buffer[16], left_over);
2e9b04
 	}
2e9b04
       ctx->buflen = left_over;
2e9b04
     }