forked from Ports/perfect_dark
Merge pull request #116 from AXDOOMER/port
Fix buffer overflow in creditsResetSlides
This commit is contained in:
1 file changed
+1
-1
+1
-1
@@ -1079,7 +1079,7 @@ void creditsResetSlides(void)
|
||||
|
||||
g_CreditsData->coreteammap[i + 1] = pool[index];
|
||||
|
||||
while (index < NUM_CORE_TEAM - i) {
|
||||
while (index < NUM_CORE_TEAM - i - 1) {
|
||||
pool[index] = pool[index + 1];
|
||||
index++;
|
||||
}
|
||||
|
||||
Reference in new issue
Block a user