From aa88342584b23e6efea55b73e2d0013d6643ae79 Mon Sep 17 00:00:00 2001 From: christos Date: Wed, 12 Sep 2018 15:28:42 +0000 Subject: [PATCH] Put the nta files in a subdirectory instead of requiring the namedb root directory to be writable by named... Others have expressed the same concern, but upstream refused: https://bugzilla.redhat.com/show_bug.cgi?id=1487823 https://bugs.isc.org/Public/Bug/Display.html?id=46242 --- external/mpl/bind/dist/lib/dns/view.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/external/mpl/bind/dist/lib/dns/view.c b/external/mpl/bind/dist/lib/dns/view.c index cf9a77e0362b..b0326b13f781 100644 --- a/external/mpl/bind/dist/lib/dns/view.c +++ b/external/mpl/bind/dist/lib/dns/view.c @@ -1,4 +1,4 @@ -/* $NetBSD: view.c,v 1.2 2018/08/12 13:02:35 christos Exp $ */ +/* $NetBSD: view.c,v 1.3 2018/09/12 15:28:42 christos Exp $ */ /* * Copyright (C) Internet Systems Consortium, Inc. ("ISC") @@ -106,7 +106,7 @@ dns_view_create(isc_mem_t *mctx, dns_rdataclass_t rdclass, goto cleanup_view; } - result = isc_file_sanitize(NULL, view->name, "nta", + result = isc_file_sanitize("nta", view->name, "nta", buffer, sizeof(buffer)); if (result != ISC_R_SUCCESS) goto cleanup_name;