https://issues.apache.org/ooo/show_bug.cgi?id=122922

[email protected] <[email protected]> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
  Attachment #81239|                            |review?([email protected])
              Flags|                            |
                 CC|                            |[email protected]

--- Comment #6 from [email protected] <[email protected]> ---
Created attachment 81239
  --> https://issues.apache.org/ooo/attachment.cgi?id=81239&action=edit
reverse the iteration to keep the iterators valid after an erase

When erasing in a vector the iterators before the erasing point remain valid
whereas the iterators after it become invalid. The idea behind the patch is to
use the order that prevents the use of invalid iterators.

With my patch suggestion applied I can no longer reproduce the crash.

-- 
You are receiving this mail because:
You are on the CC list for the bug.
You are the assignee for the bug.
You are watching all bug changes.

Reply via email to