bundy-dns / bundy

an authoritative DNS server
http://bundy-dns.de/
Other
136 stars 38 forks source link

constructors of bundy-auth and bundy-recurse are not exception safe #89

Open cstrotm opened 10 years ago

cstrotm commented 10 years ago

BIND 10 trac # 460

It should be obvious from the code.

AuthSrv::AuthSrv(const bool use_cache, AbstractXfroutClient& xfrout_client) :
impl),
checkin(new ConfigChecker(this)),
dns_lookup),
dns_answer(new MessageAnswer(this))
{}

Consider the case the allocation for checkin_ fails.

Recursor::Recursor() has the same problem.