curl/lib/vtls
Stefan Eissing f8da4f2f2d vtls: fix hostname handling in filters
- Copy the hostname and dispname to ssl_connect_data.

Use a copy instead of referencing the `connectdata` instance since this
may get free'ed on connection reuse.

Reported-by: Stefan Talpalaru
Reported-by: sergio-nsk@users.noreply.github.com

Fixes https://github.com/curl/curl/issues/10273
Fixes https://github.com/curl/curl/issues/10309

Closes https://github.com/curl/curl/pull/10310
2023-01-20 00:40:18 -05:00
..
bearssl.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
bearssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gskit.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gskit.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gtls.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
gtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostcheck.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
hostcheck.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
keylog.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls_threadlock.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
mbedtls.c curl_log: for failf/infof and debug logging implementations 2023-01-12 10:14:17 +01:00
mbedtls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
nss.c nss: implement data_pending method 2023-01-07 14:19:31 +01:00
nssg.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
openssl.c openssl: Don't ignore CA paths when using Windows CA store (redux) 2023-01-17 03:32:58 -05:00
openssl.h ngtcp2: add CURLOPT_SSL_CTX_FUNCTION support for openssl+wolfssl 2023-01-10 13:41:21 +01:00
rustls.c curl_log: for failf/infof and debug logging implementations 2023-01-12 10:14:17 +01:00
rustls.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel_verify.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
schannel.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
sectransp.c curl_log: for failf/infof and debug logging implementations 2023-01-12 10:14:17 +01:00
sectransp.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
vtls_int.h vtls: fix hostname handling in filters 2023-01-20 00:40:18 -05:00
vtls.c vtls: fix hostname handling in filters 2023-01-20 00:40:18 -05:00
vtls.h curl_log: for failf/infof and debug logging implementations 2023-01-12 10:14:17 +01:00
wolfssl.c copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
wolfssl.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00
x509asn1.c x509asn1: fix compile errors and warnings 2023-01-05 23:51:27 +01:00
x509asn1.h copyright: update all copyright lines and remove year ranges 2023-01-03 09:19:21 +01:00