BIND 10 #2386: support generic version of rdata::createRdata(text) in NSEC, DS RDATA

BIND 10 Development do-not-reply at isc.org
Sat Feb 23 02:13:16 UTC 2013


#2386: support generic version of rdata::createRdata(text) in NSEC, DS RDATA
-------------------------------------+-------------------------------------
            Reporter:  jinmei        |                        Owner:  muks
                Type:  task          |                       Status:
            Priority:  medium        |  reviewing
           Component:  libdns++      |                    Milestone:
            Keywords:                |  Sprint-20130305
           Sensitive:  0             |                   Resolution:
         Sub-Project:  DNS           |                 CVSS Scoring:
Estimated Difficulty:  3             |              Defect Severity:  N/A
         Total Hours:  0             |  Feature Depending on Ticket:
                                     |  loadzone-ng
                                     |          Add Hours to Ticket:  0
                                     |                    Internal?:  0
-------------------------------------+-------------------------------------

Comment (by jinmei):

 Replying to [comment:9 jelte]:

 > I don't see why we shouldn't accept whitespace after the type list, not
 sure why it was there in the first place (in fact it seems like an error
 to me), so IMO that test can be removed.

 I don't remember why I wrote that test, but while working on #2389
 I realized this may be a bit subtle.  In cases like A or AAAA, where
 we would expect a single, ascii-numeric string that would be converted
 by another helper function, beginning or trailing space would make it
 an invalid form.  In #2389 I decided to not use lexer for the string
 version, so (unless we change that due to review) this is still the
 case.  For other types, especially for complex ones like NSEC, I think
 it's okay to be flexible by allowing begin/trail spaces, but I think
 it's worth noting in documentation.

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


More information about the bind10-tickets mailing list