BIND 10 #410: RRset::getRdataIterator returns object in invalid state

BIND 10 Development do-not-reply at isc.org
Sat Nov 13 02:35:09 UTC 2010


#410: RRset::getRdataIterator returns object in invalid state
--------------------------------+-------------------------------------------
      Reporter:  vorner         |        Owner:  jinmei
          Type:  defect         |       Status:  new   
      Priority:  minor          |    Milestone:        
     Component:  DNSPacket API  |   Resolution:        
      Keywords:                 |    Sensitive:  0     
Estimatedhours:  0.0            |        Hours:  0     
      Billable:  1              |   Totalhours:  0     
      Internal:  0              |  
--------------------------------+-------------------------------------------

Comment(by jinmei):

 Replying to [ticket:410 vorner]:

 > I suggest that either the iterator returned should point to the first
 item or the documentation should equally clearly say that first() must be
 called before use.
 >
 Hmm, I don't remember why I left the initialized position of the iterator
 cursor undefined, but I can't think of a reason why not now, and I'd agree
 it makes more sense to initialize it with the "first" position.

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


More information about the bind10-tickets mailing list