From: Alan T. DeKok Date: Tue, 3 Oct 2017 15:29:08 +0000 (-0400) Subject: don't access u->rr if it doesn't exist X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=55a13e1af64b00f203b01aba0082ed6ebaed28f3;p=thirdparty%2Ffreeradius-server.git don't access u->rr if it doesn't exist --- diff --git a/src/modules/rlm_radius/rlm_radius_udp.c b/src/modules/rlm_radius/rlm_radius_udp.c index e180ebcdc96..340225dffc1 100644 --- a/src/modules/rlm_radius/rlm_radius_udp.c +++ b/src/modules/rlm_radius/rlm_radius_udp.c @@ -1031,8 +1031,7 @@ static void response_timeout(fr_event_list_t *el, struct timeval *now, void *uct REDEBUG("Failing proxied request ID %d due to error trying to proxy on connection %s", u->rr->id, c->name); } else { - REDEBUG("Failing proxied request ID %d due to error trying to proxy, with no connection", - u->rr->id); + REDEBUG("Failing proxied request due to error trying to proxy, with no connection"); } /* @@ -1048,8 +1047,7 @@ static void response_timeout(fr_event_list_t *el, struct timeval *now, void *uct REDEBUG("Failing proxied request ID %d due to lack of response on connection %s", u->rr->id, c->name); } else { - REDEBUG("Failing proxied request ID %d due to lack of response", - u->rr->id); + REDEBUG("Failing proxied request due to lack of response"); } mod_finished_request(c, u); return;