SCI: kString(Dup) : Invalid pointer
|Reported by:||SF/lephilousophe||Owned by:||bluegr|
The source string pointer becomes invalid when a new string entry is allocated in the string table : the call to push_back moves the data to a new place and the old one gets erased. This makes the rawString pointer invalid and copied data is bad.
The bug can be seen in Torin's passage (CD/Windows/French) : the save data file has a name with garbage in it.
Attached is a fix proposal.
Ticket imported from: #3357096. Ticket imported from: patches/1481.