BIND 10 #2504: Problem in inmem NSEC denial of existence handling

BIND 10 Development do-not-reply at isc.org
Sun Dec 9 14:25:04 UTC 2012


#2504: Problem in inmem NSEC denial of existence handling
-------------------------------------+-------------------------------------
            Reporter:  jelte         |                        Owner:  muks
                Type:  defect        |                       Status:
            Priority:  medium        |  reviewing
           Component:  data source   |                    Milestone:
            Keywords:                |  Sprint-20121218
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DNS           |                 CVSS Scoring:
Estimated Difficulty:  3             |              Defect Severity:  High
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by muks):

 I also made another minor update that checks the returned value of
 `find()`:
 {{{
 @@ -1446,6 +1446,9 @@ TEST_F(InMemoryZoneFinderTest, NSECNonExistentTest)
 {
      ZoneFinderContextPtr find_result(
          result.zone_finder->find(search_name,
                                   RRType::A(), ZoneFinder::FIND_DNSSEC));
 +    // We don't find the domain, but find() must complete (not throw or
 +    // assert).
 +    EXPECT_EQ(ZoneFinder::NXDOMAIN, find_result->code);
 }}}

 I pushed it directly, as I don't think another review is necessary for
 this check.

-- 
Ticket URL: <http://bind10.isc.org/ticket/2504#comment:10>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list