]> git.ipfire.org Git - thirdparty/freeradius-server.git/commitdiff
Placate coverity re fixed size destination libpath (CID #720444) (#4625)
authorJames Jones <jejones3141@gmail.com>
Sat, 23 Jul 2022 11:47:41 +0000 (06:47 -0500)
committerGitHub <noreply@github.com>
Sat, 23 Jul 2022 11:47:41 +0000 (18:47 +0700)
libpath has size PATH_MAX, so program should fit.

scripts/jlibtool.c

index 3381d705c842d2b025b473f0c13bc552e40a20d2..c4a7e9e968132a9db21e41b9091989885aacc87f 100644 (file)
@@ -2668,6 +2668,7 @@ static int run_mode(command_t *cmd)
                /*
                 *      jlibtool is in $(BUILD_DIR)/make/jlibtool
                 */
+               /* coverity[fixed_size_dest] */
                strcpy(libpath, program);
 
                /*