3f12dc03ae
Update bind911 to 9.11.5pl4 (BIND 9.11.5-P4). Fix security problem CVE-2018-5743 and overhaul pkgsrc. Now no need to change namedb is permission under NetBSD. * Update note about required directories. * Drop pkg-config from USE_TOOLS. * Drop none existing configure arguments and PKG_OPTIONS: - fetchlimit - sit --- 9.11.6-P1 released --- 5200. [security] tcp-clients settings could be exceeded in some cases, which could lead to exhaustion of file descriptors. (CVE-2018-5743) [GL #615]
15 lines
479 B
C
15 lines
479 B
C
$NetBSD: patch-lib_dns_view.c,v 1.1 2019/04/30 02:51:38 taca Exp $
|
|
|
|
* Use nta sub-directory as NetBSD base system.
|
|
|
|
--- lib/dns/view.c.orig 2019-04-06 01:47:33.000000000 +0000
|
|
+++ lib/dns/view.c
|
|
@@ -107,7 +107,7 @@ dns_view_create(isc_mem_t *mctx, dns_rda
|
|
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;
|