mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2026-04-27 04:21:47 +00:00
G_LoadDemoInfo: Fix for compilation-halting buffer overrun
This commit is contained in:
parent
6a08198477
commit
e82a626d45
1 changed files with 1 additions and 1 deletions
|
|
@ -2796,7 +2796,7 @@ void G_LoadDemoInfo(menudemo_t *pdemo, boolean allownonmultiplayer)
|
||||||
info.p += kLegacyStandingSize;
|
info.p += kLegacyStandingSize;
|
||||||
break; // switch
|
break; // switch
|
||||||
}
|
}
|
||||||
char temp[16];
|
char temp[16+1];
|
||||||
|
|
||||||
pdemo->standings[legacystandingplayercount].ranking = READUINT8(info.p);
|
pdemo->standings[legacystandingplayercount].ranking = READUINT8(info.p);
|
||||||
|
|
||||||
|
|
|
||||||
Loading…
Add table
Reference in a new issue