mirror of
https://git.haproxy.org/git/haproxy.git/
synced 2026-01-16 22:31:42 +01:00
CLEANUP: backend: shut another false null-deref in back_handle_st_con()
objt_conn() may return a NULL though here we don't have this situation anymore since the connection is always there, so let's simply switch to the unchecked __objt_conn(). This addresses issue #454.
This commit is contained in:
parent
b1a40c72e7
commit
79fd577ac1
@ -1916,7 +1916,7 @@ void back_handle_st_con(struct stream *s)
|
||||
struct channel *req = &s->req;
|
||||
struct channel *rep = &s->res;
|
||||
struct conn_stream *srv_cs = objt_cs(si->end);
|
||||
struct connection *conn = srv_cs ? srv_cs->conn : objt_conn(si->end);
|
||||
struct connection *conn = srv_cs ? srv_cs->conn : __objt_conn(si->end);
|
||||
|
||||
DBG_TRACE_ENTER(STRM_EV_STRM_PROC|STRM_EV_SI_ST, s);
|
||||
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user