openssl/ssl
Dr. Matthias St. Pierre 73d6b4efe6 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)
2020-05-07 19:18:09 +02:00
..
record Add SSL_new_session_ticket() API 2020-05-01 15:10:11 -07:00
statem SSL_OP_DISABLE_TLSEXT_CA_NAMES option implementation 2020-05-07 16:14:47 +03:00
bio_ssl.c Fix use-after-free in BIO_C_SET_SSL callback 2020-05-07 19:18:09 +02:00
build.info
d1_lib.c
d1_msg.c
d1_srtp.c
methods.c
pqueue.c
s3_cbc.c
s3_enc.c
s3_lib.c
s3_msg.c
ssl_asn1.c
ssl_cert_table.h
ssl_cert.c coverity 1462581 Dereference after null check 2020-04-30 20:21:33 +10:00
ssl_ciph.c Don't offer or accept ciphersuites that we can't support 2020-05-06 11:49:59 +01:00
ssl_conf.c SSL_OP_DISABLE_TLSEXT_CA_NAMES option implementation 2020-05-07 16:14:47 +03:00
ssl_err.c
ssl_init.c
ssl_lib.c Fix up whitespace nits introduced by PR #11416 2020-05-05 17:21:51 -07:00
ssl_local.h Fix up whitespace nits introduced by PR #11416 2020-05-05 17:21:51 -07:00
ssl_mcnf.c
ssl_rsa.c
ssl_sess.c
ssl_stat.c
ssl_txt.c
ssl_utst.c
t1_enc.c
t1_lib.c
t1_trce.c
tls13_enc.c
tls_srp.c