33e5f859b9
since 1.24 see file NEWS in the distfile. Security fixes since 1.24: * Fix crash when processing crafted commands (CVE-2012-4502) (possible with IP addresses allowed by cmdallow and localhost) * Don't send uninitialized data in SUBNETS_ACCESSED and CLIENT_ACCESSES replies (CVE-2012-4503) (not used by chronyc) Reviewed by: Joerg Sonnenberger <joerg@netbsd.org>
15 lines
552 B
Text
15 lines
552 B
Text
$NetBSD: patch-ad,v 1.4 2013/08/16 08:30:20 hannken Exp $
|
|
|
|
Prepare for SUBST, not processed by configure.
|
|
|
|
--- conf.c.orig 2013-08-08 13:58:07.000000000 +0000
|
|
+++ conf.c
|
|
@@ -197,7 +197,7 @@ static IPAddr bind_cmd_address4, bind_cm
|
|
|
|
/* Filename to use for storing pid of running chronyd, to prevent multiple
|
|
* chronyds being started. */
|
|
-static char *pidfile = "/var/run/chronyd.pid";
|
|
+static char *pidfile = "@VARBASE@/run/chronyd.pid";
|
|
|
|
/* Temperature sensor, update interval and compensation coefficients */
|
|
static char *tempcomp_file = NULL;
|