[Scummvm-git-logs] scummvm master -> 85a8c89bc64dc88e7fdd689d75b85e24a6ecfb94
sev-
sev at scummvm.org
Sun Oct 24 20:56:06 UTC 2021
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:
85a8c89bc6 GROOVIE: Fix buffer overflow in Triangle puzzle
Commit: 85a8c89bc64dc88e7fdd689d75b85e24a6ecfb94
https://github.com/scummvm/scummvm/commit/85a8c89bc64dc88e7fdd689d75b85e24a6ecfb94
Author: Eugene Sandulenko (sev at scummvm.org)
Date: 2021-10-24T23:55:39+03:00
Commit Message:
GROOVIE: Fix buffer overflow in Triangle puzzle
Changed paths:
engines/groovie/logic/triangle.cpp
diff --git a/engines/groovie/logic/triangle.cpp b/engines/groovie/logic/triangle.cpp
index 0cce1f706e..049d1a8b98 100644
--- a/engines/groovie/logic/triangle.cpp
+++ b/engines/groovie/logic/triangle.cpp
@@ -163,7 +163,7 @@ int8 TriangleGame::sub03(int8 player) {
}
void TriangleGame::sub05(int8 *triangleCells, int8 *tempMoves, int8 *tempTriangle) {
- int8 dest[4];
+ int8 dest[8];
for (int i = 0; i < 66; i++)
tempTriangle[i] = triangleCells[i];
More information about the Scummvm-git-logs
mailing list