BIND 10 #567: RdataIterator::getCurrent() should throw if invalid.

BIND 10 Development do-not-reply at isc.org
Fri Feb 11 11:30:51 UTC 2011


#567: RdataIterator::getCurrent() should throw if invalid.
-------------------------------------+-------------------------------------
           Reporter:  vorner         |                      Owner:
               Type:  enhancement    |                     Status:  new
           Priority:  minor          |                  Milestone:  A-Team-
          Component:  Unclassified   |  Task-Backlog
          Sensitive:  0              |                   Keywords:
Add Hours to Ticket:  0              |  Estimated Number of Hours:  0
        Total Hours:  0              |                  Billable?:  1
                                     |                  Internal?:  0
-------------------------------------+-------------------------------------
 When the RdataIterator points at the last entry and getCurrent is called,
 it should throw an exception.

 This way, we can just use the first Rdata in RRset and don't need to care
 about empty RRsets (in case of DNAME, for example, empty DNAME rrset is
 wrong and the code makes no sense).

 After this is finished, the assert in CNAME synthesis code for DNAME in
 auth/query.cc should be removed (see #505).

-- 
Ticket URL: <https://bind10.isc.org/ticket/567>
BIND 10 Development <http://bind10.isc.org>
BIND 10 Development


More information about the bind10-tickets mailing list