[Scummvm-git-logs] scummvm master -> 60cfe757c4cb96c653cfefbb6f59550f9da07d56
kelmer44
noreply at scummvm.org
Wed Oct 8 15:27:58 UTC 2025
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://api.github.com/repos/scummvm/scummvm .
Summary:
60cfe757c4 TOT: Fix dereference after null check in original saveload screen (Coverity)
Commit: 60cfe757c4cb96c653cfefbb6f59550f9da07d56
https://github.com/scummvm/scummvm/commit/60cfe757c4cb96c653cfefbb6f59550f9da07d56
Author: kelmer (kelmer at gmail.com)
Date: 2025-10-08T17:27:23+02:00
Commit Message:
TOT: Fix dereference after null check in original saveload screen (Coverity)
Changed paths:
engines/tot/saveload.cpp
diff --git a/engines/tot/saveload.cpp b/engines/tot/saveload.cpp
index 3689c05186a..c0b5ede1332 100644
--- a/engines/tot/saveload.cpp
+++ b/engines/tot/saveload.cpp
@@ -582,6 +582,7 @@ Common::String drawAndSelectSaves(Common::StringArray saves, uint selectedGame)
Common::InSaveFile *in = g_system->getSavefileManager()->openForLoading(saves[i]);
if (!in) {
warning("Could not open save file: %s", saves[i].c_str());
+ continue;
}
bool result = g_engine->getMetaEngine()->readSavegameHeader(in, &header, true);
euroText(65, 29 + (i * 15), result ? header.description.c_str() : saves[i].c_str(), color);
More information about the Scummvm-git-logs
mailing list