]> granicus.if.org Git - pdns/commit
Catch DNSName exception in the Zoneparser
authorPieter Lexis <pieter.lexis@powerdns.com>
Tue, 22 Aug 2017 12:10:27 +0000 (14:10 +0200)
committerPieter Lexis <pieter.lexis@powerdns.com>
Tue, 7 Nov 2017 20:26:01 +0000 (21:26 +0100)
commit786aacb73b9dafad2732dcd5930de6128b310b7c
tree4b0fb91fc231373dd8e1e94865a94ef83c658001
parent0f9270dee76e102345181f11b2598b6e6bfa2a14
Catch DNSName exception in the Zoneparser

This wraps all calls to `toCanonic` in try/catch and rethrows it as a
PDNSException with more information.

Closes #5520.

(cherry picked from commit 1293f91eac4810769b88b6cfc404c60b1d5abee0)
pdns/zoneparser-tng.cc