Bug 366323

Summary: rkward/plugin/rkformula.cpp:386: possible bad erase ?
Product: [Applications] rkward Reporter: dcb314
Component: generalAssignee: RKWard Team <rkward-devel>
Status: RESOLVED FIXED    
Severity: normal    
Priority: NOR    
Version: unspecified   
Target Milestone: ---   
Platform: Other   
OS: Linux   
Latest Commit: Version Fixed In:

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