summaryrefslogtreecommitdiffstats
path: root/crypto/aes
diff options
context:
space:
mode:
authorDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-05-06 17:24:13 +0200
committerDr. Matthias St. Pierre <matthias.st.pierre@ncp-e.com>2020-05-07 19:21:11 +0200
commitd07e8b0ae66e96cda9c803de36e977fb7dfe941a (patch)
tree41d21490b17a6f068b5115d371fa7fdce345f5a8 /crypto/aes
parent184b0f14173fd69120767d86227d1db3a4e60ec0 (diff)
Fix use-after-free in BIO_C_SET_SSL callback
Since the BIO_SSL structure was renewed by `ssl_free(b)/ssl_new(b)`, the `bs` pointer needs to be updated before assigning to `bs->ssl`. Thanks to @suishixingkong for reporting the issue and providing a fix. Closes #10539 Reviewed-by: Tomas Mraz <tmraz@fedoraproject.org> (Merged from https://github.com/openssl/openssl/pull/11746) (cherry picked from commit 73d6b4efe6835a6c97ce61df6bf339b0903e5b7a)
Diffstat (limited to 'crypto/aes')
0 files changed, 0 insertions, 0 deletions