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

BIND 10 Development do-not-reply at isc.org
Wed Apr 6 13:44:20 UTC 2011


#836: operator[] on an empty vector
-------------------------------------+------------------------------------
                 Reporter:  fdupont  |                 Type:  defect
                   Status:  new      |             Priority:  major
                Milestone:           |            Component:  Unclassified
                 Keywords:           |            Sensitive:  0
Estimated Number of Hours:  0        |  Add Hours to Ticket:  0
                Billable?:  1        |          Total Hours:  0
                Internal?:  0        |
-------------------------------------+------------------------------------
 &v[0] where v is the empty vector raises a runtime error on Windows.
 IMHO Windows is right and the vector should be checked before.

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


More information about the bind10-tickets mailing list