]> git.ipfire.org Git - thirdparty/pdns.git/commit
dnsdist: Handle empty DNSNames in grepq() 9431/head
authorRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Sep 2020 08:14:40 +0000 (10:14 +0200)
committerRemi Gacogne <remi.gacogne@powerdns.com>
Tue, 1 Sep 2020 08:14:40 +0000 (10:14 +0200)
commit27d78dc680f81b1571706d91d9cd3f825423aced
treeb6b516c2d62c67233fe51300ee4ff04a10a36c3b
parentf76bbc240ba028c2631f445c39af119de8eea2b8
dnsdist: Handle empty DNSNames in grepq()

We should not get an empty DNSName into the ring buffer, but let's
handle it gracefully if it does happen so we can investigate, instead
of getting:

Caught exception: empty dnsnames aren't part of anything
pdns/dnsdist-lua-inspection.cc