Opened 5 years ago

Closed 5 years ago

Last modified 5 years ago

#3613 closed defect (fixed)

erase invalids its iterator

Reported by: fdupont Owned by: fdupont
Priority: high Milestone: Kea0.9.1beta
Component: configuration Version: git
Keywords: Cc:
CVSS Scoring: Parent Tickets:
Sensitive: no Defect Severity: N/A
Sub-Project: DHCP Feature Depending on Ticket:
Estimated Difficulty: 0 Add Hours to Ticket: 0
Total Hours: 0 Internal?: no


According to about list, map, set, etc, erase function:
"Iterators, pointers and references referring to elements removed by the function are invalidated."
src/lib/cc/ has many occurrences of this bug, unfortunately not caught by g++ and its poor STL library...


Change History (3)

comment:1 Changed 5 years ago by fdupont

  • Resolution set to fixed
  • Status changed from new to closed

comment:2 Changed 5 years ago by fdupont

Looking too old sources: was fixed by Jinmei a long time ago...

comment:3 Changed 5 years ago by tomek

  • Milestone changed from Kea-proposed to Kea0.9.1
Note: See TracTickets for help on using tickets.