[Scummvm-git-logs] scummvm master -> d419fe4e22a8a5d909db8a242b1c81899c4443cc

criezy noreply at scummvm.org
Tue Aug 26 23:29:24 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:
d419fe4e22 GOT: Fix potential out-of-bounds access


Commit: d419fe4e22a8a5d909db8a242b1c81899c4443cc
    https://github.com/scummvm/scummvm/commit/d419fe4e22a8a5d909db8a242b1c81899c4443cc
Author: ellm135 (ellm13531 at gmail.com)
Date: 2025-08-27T00:29:22+01:00

Commit Message:
GOT: Fix potential out-of-bounds access

Changed paths:
    engines/got/views/credits.cpp


diff --git a/engines/got/views/credits.cpp b/engines/got/views/credits.cpp
index ea13a51c3d3..05f05728abb 100644
--- a/engines/got/views/credits.cpp
+++ b/engines/got/views/credits.cpp
@@ -82,11 +82,11 @@ void Credits::draw() {
 
 		drawCredit(s, gfxNum1, gfxNum3, 16, 40 + 24);
 		drawCredit(s, gfxNum2, gfxNum4, 16, 40 + 24);
-	}
 
 #ifdef USE_TTS
-	sayText(creditsText[creditNum]);
+		sayText(creditsText[creditNum]);
 #endif
+	}
 
 	s.markAllDirty();
 }




More information about the Scummvm-git-logs mailing list