Bug 366323 - rkward/plugin/rkformula.cpp:386: possible bad erase ?
Summary: rkward/plugin/rkformula.cpp:386: possible bad erase ?
Status: RESOLVED FIXED
Alias: None
Product: rkward
Classification: Applications
Component: general (show other bugs)
Version: unspecified
Platform: Other Linux
: NOR normal
Target Milestone: ---
Assignee: RKWard Team
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2016-08-01 11:33 UTC by dcb314
Modified: 2017-06-04 18:49 UTC (History)
0 users

See Also:
Latest Commit:
Version Fixed In:


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description dcb314 2016-08-01 11:33:10 UTC
rkward-0.6.5/rkward/plugin/rkformula.cpp:386] -> [/home/dcb/rpmbuild/BUILD/rkward-0.6.5/rkward/plugin/rkformula.cpp:400]: (error) Iterator 'in' used after element has been erased.

Source code is

            interaction_map.erase (in);
Comment 1 Thomas Friedrichsmeier 2017-06-04 18:49:34 UTC
Git commit 849ea81317392ca625e82efe5e55f94dab8486e8 by Thomas Friedrichsmeier.
Committed on 04/06/2017 at 18:46.
Pushed by tfry into branch 'master'.

Fix crash in formula editing widget.

Note to the bug reporter: This element is unsused so far, so the crash
was not triggered, yet. But many thanks for the the pointer!

M  +3    -1    rkward/plugin/rkformula.cpp

https://commits.kde.org/rkward/849ea81317392ca625e82efe5e55f94dab8486e8