BIND 10 #836: operator[] on an empty vector

BIND 10 Development do-not-reply at isc.org
Fri Apr 8 14:12:34 UTC 2011


#836: operator[] on an empty vector
------------------------------------------+--------------------------------
                 Reporter:  fdupont       |                Owner:  jinmei
                     Type:  defect        |               Status:  assigned
                 Priority:  major         |            Milestone:
                Component:  Unclassified  |           Resolution:
                 Keywords:                |            Sensitive:  0
Estimated Number of Hours:  0.0           |  Add Hours to Ticket:  0
                Billable?:  1             |          Total Hours:  0
                Internal?:  0             |
------------------------------------------+--------------------------------

Comment (by fdupont):

 And also in rdata.cc: compare_internal():

     if ((cmp = memcmp(&lhs.data_![0], &rhs.data_![0], len))
         != 0) {
         return (cmp);

 (fix: add (this_len > 0) && (other_len > 0) before)

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


More information about the bind10-tickets mailing list