[Scummvm-git-logs] scummvm master -> 15e384f03cbf0be96528752cb8d9271ba3c04a45
aquadran
noreply at scummvm.org
Mon Oct 28 11:53:29 UTC 2024
This automated email contains information about 1 new commit which have been
pushed to the 'scummvm' repo located at https://github.com/scummvm/scummvm .
Summary:
15e384f03c WINTERMUTE: CID 1003606
Commit: 15e384f03cbf0be96528752cb8d9271ba3c04a45
https://github.com/scummvm/scummvm/commit/15e384f03cbf0be96528752cb8d9271ba3c04a45
Author: PaweÅ KoÅodziejski (aquadran at gmail.com)
Date: 2024-10-28T12:53:23+01:00
Commit Message:
WINTERMUTE: CID 1003606
Changed paths:
engines/wintermute/base/base_parser.cpp
diff --git a/engines/wintermute/base/base_parser.cpp b/engines/wintermute/base/base_parser.cpp
index cad4a8a8438..ca4f44ed5af 100644
--- a/engines/wintermute/base/base_parser.cpp
+++ b/engines/wintermute/base/base_parser.cpp
@@ -69,6 +69,9 @@ int32 BaseParser::getObject(char **buf, const TokenDesc *tokens, char **name, ch
// skip comment lines.
while (**buf == ';') {
*buf = strchr(*buf, '\n');
+ if (! *buf) {
+ return PARSERR_EOF;
+ }
_parserLine++;
skipCharacters(buf, _whiteSpace);
}
More information about the Scummvm-git-logs
mailing list