mirror of
https://github.com/openssl/openssl.git
synced 2024-11-21 01:15:20 +08:00
Fix a double free in tls13encryptiontest
Reviewed-by: Rich Salz <rsalz@openssl.org>
This commit is contained in:
parent
6c67017424
commit
d3ab93e9c3
@ -157,6 +157,7 @@ static int load_record(SSL3_RECORD *rec, size_t recnum, unsigned char **key,
|
||||
return 1;
|
||||
err:
|
||||
OPENSSL_free(*key);
|
||||
*key = NULL;
|
||||
OPENSSL_free(ivtmp);
|
||||
OPENSSL_free(sq);
|
||||
OPENSSL_free(pt);
|
||||
|
Loading…
Reference in New Issue
Block a user