You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
The "std::string SaveGlobal(lua_State *l, bool is_root, std::vectorstd::string &blockTableNames)" function, in script.cpp, does not save the "/" character correctly in strings, potentially causing crashes when a game is loaded. For example, if we have the following string:
"The name "Marcomanni" means "march-men", or "frontier-men"."
...it will be saved as:
"The name "Marcomanni" means "march-men", or "frontier-men"."
(by andre-ng)
Wouldn't that just mean that the crash would happen after loading two games, instead of one?
When loading the first game, "" would be converted to "". And then, if the player saves the game again, this new save will become corrupt (because the "" will disappear), and cause a crash upon loading.
The "std::string SaveGlobal(lua_State *l, bool is_root, std::vectorstd::string &blockTableNames)" function, in script.cpp, does not save the "/" character correctly in strings, potentially causing crashes when a game is loaded. For example, if we have the following string:
"The name "Marcomanni" means "march-men", or "frontier-men"."
...it will be saved as:
"The name "Marcomanni" means "march-men", or "frontier-men"."
...which will cause a crash upon game load.
Imported from Launchpad using lp2gh.
The text was updated successfully, but these errors were encountered: