]> git.ipfire.org Git - thirdparty/gcc.git/commit - libiberty/sha1.c
Fix potentially undefined behaviour when computing a sha1 value.
authorNick Clifton <nickc@redhat.com>
Tue, 16 Mar 2021 14:43:17 +0000 (14:43 +0000)
committerNick Clifton <nickc@redhat.com>
Tue, 16 Mar 2021 14:43:17 +0000 (14:43 +0000)
commitf6e9c1c9191c8b9998e03cb15de8600a2a4b9188
treeb3da74834f18fc29fc0c70559ae6ba0e091adf75
parent408d137027b1c39546d39fdbca7347b3dddba8ea
Fix potentially undefined behaviour when computing a sha1 value.

libiberty/
* sha1.c (sha1_process_bytes): Use memmove in place of memcpy.
libiberty/sha1.c