-
Notifications
You must be signed in to change notification settings - Fork 867
Open
Labels
type: code-reportThis issue describes a code report (like valgrind or coverity)This issue describes a code report (like valgrind or coverity)
Description
Tool Name and Version
coverity
Code Report
** CID 1641300: Null pointer dereferences (FORWARD_NULL)
/src/quic_ssl.c: 984 in qc_ssl_do_hanshake()
_____________________________________________________________________________________________
*** CID 1641300: Null pointer dereferences (FORWARD_NULL)
/src/quic_ssl.c: 984 in qc_ssl_do_hanshake()
978 }
979 }
980 else {
981 const unsigned char *alpn;
982 size_t alpn_len;
983
>>> CID 1641300: Null pointer dereferences (FORWARD_NULL)
>>> Dereferencing null pointer "ctx->conn".
984 ctx->conn->flags &= ~(CO_FL_SSL_WAIT_HS | CO_FL_WAIT_L6_CONN);
985 if (!ssl_sock_get_alpn(ctx->conn, ctx, (const char **)&alpn, (int *)&alpn_len) ||
986 !quic_set_app_ops(qc, alpn, alpn_len)) {
987 TRACE_ERROR("No negotiated ALPN", QUIC_EV_CONN_IO_CB, qc, &state);
988 quic_set_tls_alert(qc, SSL_AD_NO_APPLICATION_PROTOCOL);
989 goto err;
Additional Information
No response
Output of haproxy -vv
n/a
Metadata
Metadata
Assignees
Labels
type: code-reportThis issue describes a code report (like valgrind or coverity)This issue describes a code report (like valgrind or coverity)