From bc3d2b7386e058c39872a3aa74101283b6f1af45 Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Wed, 9 Sep 2020 15:11:26 +0200 Subject: [PATCH] Parts is reused, so clear the names it might contain. --- pdns/pdns_recursor.cc | 1 + 1 file changed, 1 insertion(+) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 71a61f517b..58450d1a7d 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -4468,6 +4468,7 @@ static int serviceMain(int argc, char*argv[]) } g_dontThrottleNames.setState(std::move(dontThrottleNames)); + parts.clear(); NetmaskGroup dontThrottleNetmasks; stringtok(parts, ::arg()["dont-throttle-netmasks"], " ,"); for (const auto &p : parts) { -- 2.47.2