projects
/
oweals
/
openssl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
6c67017
)
Fix a double free in tls13encryptiontest
author
Matt Caswell
<matt@openssl.org>
Tue, 22 Nov 2016 10:12:55 +0000
(10:12 +0000)
committer
Matt Caswell
<matt@openssl.org>
Tue, 29 Nov 2016 23:31:10 +0000
(23:31 +0000)
Reviewed-by: Rich Salz <rsalz@openssl.org>
test/tls13encryptiontest.c
patch
|
blob
|
history
diff --git
a/test/tls13encryptiontest.c
b/test/tls13encryptiontest.c
index 5815f851935570ae92e91d48b58d770705053e8f..0e38bdad4a5b6e44324e7bbc1950e20cad7d8388 100644
(file)
--- a/
test/tls13encryptiontest.c
+++ b/
test/tls13encryptiontest.c
@@
-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);