Opened 13 years ago

Closed 13 years ago

Last modified 13 months ago

#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
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 eriktorbjorn, 13 years ago

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.

comment:2 by eriktorbjorn, 13 years ago

Owner: set to fingolfin

comment:3 by fingolfin, 13 years ago

Resolution: fixed
Status: newclosed

comment:4 by digitall, 13 months ago

Component: GUI
Note: See TracTickets for help on using tickets.