mirror of
https://github.com/openssl/openssl.git
synced 2025-03-01 19:28:10 +08:00
QUIC QTLS: Fix NULL dereference (coverity)
Reviewed-by: Tomas Mraz <tomas@openssl.org> Reviewed-by: Matt Caswell <matt@openssl.org> (Merged from https://github.com/openssl/openssl/pull/21565)
This commit is contained in:
parent
b538ae4fbf
commit
4d6ca88599
@ -14,9 +14,9 @@
|
||||
|
||||
#define QUIC_TLS_FATAL(rl, ad, err) \
|
||||
do { \
|
||||
(rl)->alert = (ad); \
|
||||
if ((rl) != NULL) (rl)->alert = (ad); \
|
||||
ERR_raise(ERR_LIB_SSL, (err)); \
|
||||
(rl)->qtls->inerror = 1; \
|
||||
if ((rl) != NULL) (rl)->qtls->inerror = 1; \
|
||||
} while(0)
|
||||
|
||||
struct quic_tls_st {
|
||||
|
Loading…
Reference in New Issue
Block a user