#2850 closed defect (fixed)
GUI: crash when pressing "delete" at the end of the name
Reported by: | SF/richiefs | Owned by: | fingolfin |
---|---|---|---|
Priority: | normal | Component: | GUI |
Version: | Keywords: | ||
Cc: | Game: |
Description
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 , 18 years ago
comment:2 by , 18 years ago
Owner: | set to |
---|
comment:3 by , 18 years ago
Resolution: | → fixed |
---|---|
Status: | new → closed |
comment:4 by , 6 years ago
Component: | → GUI |
---|
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.