From: Alan T. DeKok Date: Tue, 23 Jan 2024 12:55:04 +0000 (-0500) Subject: X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=0149d8efe9514aacdb7f46c027674bb78446d939;p=thirdparty%2Ffreeradius-server.git --- diff --git a/src/lib/bio/fd_open.c b/src/lib/bio/fd_open.c index 290a16ee77d..5fcacf83da6 100644 --- a/src/lib/bio/fd_open.c +++ b/src/lib/bio/fd_open.c @@ -461,6 +461,11 @@ static int fr_bio_fd_socket_bind_unix(fr_bio_fd_t *my, fr_bio_fd_config_t const socklen_t sunlen; struct sockaddr_un sun; + if (!cfg->path) { + fr_strerror_const("Failed to specify path"); + return -1; + } + /* * The UID and GID should be taken automatically from the "user" and "group" settings in * mainconfig. There is no reason to set them to anything else.