From 1b8b339aae27e4dc814149b628ac3a3aac00f4ea Mon Sep 17 00:00:00 2001 From: Joachim Henze Date: Sun, 14 Jun 2020 20:03:33 +0200 Subject: [PATCH] [DNSRSLVR] Define NDEBUG in cache.c To avoid leaking private data into logs by default. Some testers may consider their DNS-suffix private data. And DnsIntCacheAddEntry() logs that via Record->pName. --- base/services/dnsrslvr/cache.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/base/services/dnsrslvr/cache.c b/base/services/dnsrslvr/cache.c index e61cc8695a7..b232989f372 100644 --- a/base/services/dnsrslvr/cache.c +++ b/base/services/dnsrslvr/cache.c @@ -8,7 +8,7 @@ #include "precomp.h" -//#define NDEBUG +#define NDEBUG #include static RESOLVER_CACHE DnsCache;