Opened 16 years ago
Closed 16 years ago
Last modified 4 years ago
#2850 closed defect (fixed)
GUI: crash when pressing "delete" at the end of the name
|Reported by:||SF/richiefs||Owned by:||fingolfin|
When editing a game settings in the gui, press "delete" when at the end of the game name --> scummvm crashes with error:
Assertion failed: p < _len, file common/str.cpp, line 217
Ticket imported from: #1570189. Ticket imported from: bugs/2850.
Change History (4)
comment:1 by , 16 years ago
comment:2 by , 16 years ago
comment:3 by , 16 years ago
|Status:||new → closed|
comment:4 by , 4 years ago
Note: See TracTickets for help on using tickets.
This looks like a recent regression. Before revision 24043, String::deleteChar() silently ignored attempts to remove characters outside of the string, so it doesn't happen in the 0.9 branch.