mirror of
https://github.com/haproxy/haproxy.git
synced 2026-02-17 09:37:53 -05: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
1 changed files with 1 additions and 1 deletions
|
|
@ -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…
Reference in a new issue