BIND 10 #1641: Further bug(s) in NSEC3 RDATA implementation
BIND 10 Development
do-not-reply at isc.org
Mon Jan 30 09:48:34 UTC 2012
#1641: Further bug(s) in NSEC3 RDATA implementation
-------------------------------------+-------------------------------------
Reporter: jinmei | Owner:
Type: defect | UnAssigned
Priority: major | Status: new
Component: libdns++ | Milestone: Next-
Sensitive: 0 | Sprint-Proposed
Sub-Project: DNS | Keywords:
Estimated Difficulty: 0 | Defect Severity: N/A
Total Hours: 0 | Feature Depending on Ticket: NSEC3
| Add Hours to Ticket: 0
| Internal?: 0
-------------------------------------+-------------------------------------
Its toText() crashes for this input:
{{{
1 1 1 5CA1AB1E QBREATAE625G9UGNH0BOAAS79IT1LTPE NS SOA RRSIG DNSKEY
NSEC3PARAM TYPE65534
}}}
From a quick look it's due to difference on this part between NSEC and
NSEC3 implementations:
{{{#!c++
// NSEC
assert(len > 0 && len <= 32);
// NSEC3
assert(len >= 0 && len < 32);
}}}
but we should not just fix this specific case, but try to unify the
bitmap related processing between these two classes more (that's
partially done), through which we may find other remaining bugs.
We'll also need more tests.
--
Ticket URL: <http://bind10.isc.org/ticket/1641>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development
More information about the bind10-tickets
mailing list