From c1dbcbf2d10cd99864ab0eb44358d9875ba0c0a5 Mon Sep 17 00:00:00 2001 From: Cy Schubert Date: Tue, 8 Dec 2020 21:23:03 +0000 Subject: Vendor import of Unbound 1.13.0. Security: CVE-2020-28935 --- testcode/testbound.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'testcode/testbound.c') diff --git a/testcode/testbound.c b/testcode/testbound.c index 602dffaff14a..3f3e106b039c 100644 --- a/testcode/testbound.c +++ b/testcode/testbound.c @@ -362,6 +362,10 @@ main(int argc, char* argv[]) /* we do not want the test to depend on the timezone */ (void)putenv("TZ=UTC"); memset(pass_argv, 0, sizeof(pass_argv)); +#ifdef HAVE_SYSTEMD + /* we do not want the test to use systemd daemon startup notification*/ + (void)unsetenv("NOTIFY_SOCKET"); +#endif /* HAVE_SYSTEMD */ log_init(NULL, 0, NULL); /* determine commandline options for the daemon */ -- cgit v1.2.3