Subject: | FW: Bug in Net::DNS::Nameserver.pm Version 835 |
Date: | Wed, 24 Nov 2010 17:03:17 -0800 |
To: | <bug-Net-DNS [...] rt.cpan.org> |
From: | "Mark Pizzolato - Info Comm" <Mark [...] infocomm.com> |
Reporting to rt.cpan.org as requested.
From: Mark Pizzolato - Info Comm
Sent: Wednesday, November 24, 2010 1:28 PM
To: 'olaf@net-dns.org'
Subject: Bug in Net::DNS::Nameserver.pm Version 835
Hi there Olaf,
I encountered a bug in the code for Nameserver.pm
The bug is obvious when a Nameserver object is created without
specifying a NotifyHandler and the resulting object actually receives a
NS_NOTIFY_OP packet. The existing code sees that no NotifyHandler was
specified when the Nameserver object was created and sets a SERVFAIL
rcode, BUT then it calls the missing notify handler anyway!
The attached patch fixes the problem.
- Mark Pizzolato
Message body is not shown because sender requested not to inline it.