]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
<sigh>
authorAlan T. DeKok <aland@freeradius.org>
Tue, 23 Jan 2024 12:55:04 +0000 (07:55 -0500)
committerAlan T. DeKok <aland@freeradius.org>
Tue, 23 Jan 2024 13:00:41 +0000 (08:00 -0500)
src/lib/bio/fd_open.c

index 290a16ee77d7fe3dd0f7b5c4a261321f722bfbba..5fcacf83da6a57ae6c6188cfbe332d7d6bbba597 100644 (file)
@@ -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.