mirror of
https://github.com/KartKrewDev/RingRacers.git
synced 2025-12-31 20:22:40 +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;
|
||||
break; // switch
|
||||
}
|
||||
char temp[16];
|
||||
char temp[16+1];
|
||||
|
||||
pdemo->standings[legacystandingplayercount].ranking = READUINT8(info.p);
|
||||
|
||||
|
|
|
|||
Loading…
Add table
Reference in a new issue