From: Alan T. DeKok Date: Tue, 8 Apr 2025 18:04:01 +0000 (-0400) Subject: home_pool may be NULL X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=24219db87d2540b63d65fb3d6c790d999baf714b;p=thirdparty%2Ffreeradius-server.git home_pool may be NULL --- diff --git a/src/main/process.c b/src/main/process.c index 7d802536e7..25ffdc9a14 100644 --- a/src/main/process.c +++ b/src/main/process.c @@ -2779,7 +2779,7 @@ static int process_proxy_reply(REQUEST *request, RADIUS_PACKET *reply) * only for Access-Request, and only if there's a State * attribute in the reply. */ - if (request->home_pool->affinity_group && + if (request->home_pool && request->home_pool->affinity_group && (request->reply->code == PW_CODE_ACCESS_CHALLENGE) && ((vp = fr_pair_find_by_num(request->reply->vps, PW_STATE, 0, TAG_ANY)) != NULL)) { uint8_t *src;