From 991c428bdad1a2cb39e5673847cbfec0b9149baf Mon Sep 17 00:00:00 2001 From: Otto Moerbeek Date: Fri, 22 Apr 2022 10:37:56 +0200 Subject: [PATCH] rec: Backport of 11496 to rec-4.6.x: Prevent segfault with empty allow-from-file and allow-from options --- pdns/pdns_recursor.cc | 6 +----- 1 file changed, 1 insertion(+), 5 deletions(-) diff --git a/pdns/pdns_recursor.cc b/pdns/pdns_recursor.cc index 1700a9fde7..ea455bb482 100644 --- a/pdns/pdns_recursor.cc +++ b/pdns/pdns_recursor.cc @@ -4775,8 +4775,6 @@ static std::shared_ptr parseACL(const std::string& aclFile, const result->addMask(line); } g_log<size()<<" "< ips; @@ -4790,11 +4788,9 @@ static std::shared_ptr parseACL(const std::string& aclFile, const g_log<