1
0
mirror of https://github.com/moparisthebest/curl synced 2024-11-11 12:05:06 -05:00
curl/lib/vtls
ejanchivdorj a63dae5d07
sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer
When the SecCertificateCopyCommonName function fails, it leaves
common_name in a invalid state so CFStringCompare uses the invalid
result, causing EXC_BAD_ACCESS.

The fix is to check the return value of the function before using the
name.

Closes #7126
2021-05-25 11:22:09 +02:00
..
bearssl.c tls: add USE_HTTP2 define 2021-04-29 15:04:39 +02:00
bearssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gskit.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
gskit.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
gtls.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
gtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
keylog.c curl.se: new home 2020-11-04 23:59:47 +01:00
keylog.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.c curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls_threadlock.h curl.se: new home 2020-11-04 23:59:47 +01:00
mbedtls.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
mbedtls.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
mesalink.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
mesalink.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
nss.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
nssg.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
openssl.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
openssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
rustls.c rustls: switch read_tls and write_tls to callbacks 2021-05-24 16:40:59 +02:00
rustls.h copyright: update copyright year ranges to 2021 2021-03-27 23:00:14 +01:00
schannel_verify.c SSL: support in-memory CA certs for some backends 2021-05-05 02:29:16 -04:00
schannel.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
schannel.h schannel: don't use static to store selected ciphers 2021-05-24 07:56:05 +02:00
sectransp.c sectransp: fix EXC_BAD_ACCESS caused by uninitialized buffer 2021-05-25 11:22:09 +02:00
sectransp.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00
vtls.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
vtls.h openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
wolfssl.c openssl: associate/detach the transfer from connection 2021-05-24 13:15:10 +02:00
wolfssl.h copyright: fix year ranges 2020-11-05 08:22:10 +01:00