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 In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
methods.c
pqueue.c
s3_cbc.c Update copyright year 2020-04-23 13:55:52 +01:00
s3_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
s3_lib.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
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 Use a fetched version of SHA256 in tls_process_new_session_ticket() 2020-03-24 16:13:59 +00:00
ssl_init.c Update copyright year 2020-04-23 13:55:52 +01:00
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 In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
ssl_sess.c In OpenSSL builds, declare STACK for datatypes ... 2020-04-24 16:42:46 +02:00
ssl_stat.c
ssl_txt.c Update copyright year 2020-04-23 13:55:52 +01:00
ssl_utst.c
t1_enc.c Update copyright year 2020-04-23 13:55:52 +01:00
t1_lib.c Fix GOST curve sec bits 2020-04-28 11:40:18 +03:00
t1_trce.c GOST2012 TLS Supported Groups Identifiers Support 2020-04-22 11:22:00 +03:00
tls13_enc.c coverity 1462570 Resource leak 2020-04-30 20:21:32 +10:00
tls_srp.c Update copyright year 2020-04-23 13:55:52 +01:00