Bug #275: Iterator/object invalidation bugs
ID | #275 |
---|---|
Submitter | Sausage |
Product | EOSERV |
Severity | Normal |
Status | OPEN, CONFIRMED |
Submitted | 1st Feb 2014 |
Updated | 1st Feb 2014 |
10 years, 48 weeks ago
EOSERV is plagued with iterator invalidation bugs, and easily susceptible to new object and iterator invalidation bugs.
A policy of not iterating containers not under your control should be enforced. How to apply "for all" operations when the container may be modified during the operation needs to be considered.
Raw pointers should be replaced with shared_ptr and weak_ptr to allow detection of deleted objects.
Comments
Add Comment
Please don't post unless you have something relevant to the bug to say.
Do not comment to say "thanks" or "fix this please".
Please log in to add comments. EOSERV Bug Tracker > Bug #275: Iterator/object invalidation bugs