BIND 10 #3263: RRset::addRdata(ConstRdataPtr&) does not validate RDATA against RRset's class

BIND 10 Development do-not-reply at isc.org
Wed Jan 8 04:44:50 UTC 2014


#3263: RRset::addRdata(ConstRdataPtr&) does not validate RDATA against RRset's
class
-------------------------------------+-------------------------------------
            Reporter:  muks          |                        Owner:
                Type:  defect        |  UnAssigned
            Priority:  medium        |                       Status:
           Component:  libdns++      |  reviewing
            Keywords:                |                    Milestone:
           Sensitive:  0             |  Sprint-20131015
         Sub-Project:  DNS           |                   Resolution:
Estimated Difficulty:  0             |                 CVSS Scoring:
         Total Hours:  0             |              Defect Severity:  N/A
                                     |  Feature Depending on Ticket:
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------
Changes (by muks):

 * status:  new => reviewing
 * milestone:  New Tasks => Sprint-20131015


Comment:

 * Documentation was updated that `BasicRRset::addRdata(const Rdata&)` can
 throw a `std::bad_cast` exception.

 * It is not possible to test the type and class of an `Rdata` object
 (without an expensive copy construction similar to what
 `BasicRRset::addRdata(const Rdata&)` does), so we continue to not validate
 the passed object in `RdataPtr`.

 * Tests were updated.

 Up for review.

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


More information about the bind10-tickets mailing list