mirror of
https://github.com/QuasarApp/openssl.git
synced 2025-04-30 11:44:37 +00:00
modes: fix coverity 1449860: overlapping memory copy
Reviewed-by: Tomas Mraz <tomas@openssl.org> (Merged from https://github.com/openssl/openssl/pull/14584)
This commit is contained in:
parent
b875e0e820
commit
145f12d12d
@ -69,6 +69,7 @@ void CRYPTO_cbc128_encrypt(const unsigned char *in, unsigned char *out,
|
||||
in += 16;
|
||||
out += 16;
|
||||
}
|
||||
if (ivec != iv)
|
||||
memcpy(ivec, iv, 16);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user