[Scummvm-git-logs] scummvm master -> 861612f113d0561829ceaec8326e5c17b1fd1823
digitall
noreply at scummvm.org
Mon Jun 20 00:04:24 UTC 2022
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:
861612f113 AGS: Fix Temporary Script Name Buffer Size to Match Breakpoint Name Size
Commit: 861612f113d0561829ceaec8326e5c17b1fd1823
https://github.com/scummvm/scummvm/commit/861612f113d0561829ceaec8326e5c17b1fd1823
Author: D G Turner (digitall at scummvm.org)
Date: 2022-06-20T01:02:44+01:00
Commit Message:
AGS: Fix Temporary Script Name Buffer Size to Match Breakpoint Name Size
This mismatch was causing several GCC format overflow / truncation
warnings.
Changed paths:
engines/ags/engine/debugging/debug.cpp
diff --git a/engines/ags/engine/debugging/debug.cpp b/engines/ags/engine/debugging/debug.cpp
index ab88b34c130..200812bd2b0 100644
--- a/engines/ags/engine/debugging/debug.cpp
+++ b/engines/ags/engine/debugging/debug.cpp
@@ -395,7 +395,7 @@ int check_for_messages_from_editor() {
bool isDelete = (msgPtr[0] == 'D');
// Format: SETBREAK $scriptname$lineNumber$
msgPtr += 10;
- char scriptNameBuf[100];
+ char scriptNameBuf[80];
int i = 0;
while (msgPtr[0] != '$') {
scriptNameBuf[i] = msgPtr[0];
More information about the Scummvm-git-logs
mailing list