You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
11 lines
430 B
11 lines
430 B
--- binutils.orig/libiberty/sha1.c 2021-05-07 10:47:11.572773217 +0100 |
|
+++ binutils-2.35.2/libiberty/sha1.c 2021-05-07 10:47:16.014741009 +0100 |
|
@@ -258,7 +258,7 @@ sha1_process_bytes (const void *buffer, |
|
{ |
|
sha1_process_block (ctx->buffer, 64, ctx); |
|
left_over -= 64; |
|
- memcpy (ctx->buffer, &ctx->buffer[16], left_over); |
|
+ memmove (ctx->buffer, &ctx->buffer[16], left_over); |
|
} |
|
ctx->buflen = left_over; |
|
}
|
|
|