mirror of
https://github.com/ZDoom/raze-gles.git
synced 2024-11-11 07:11:39 +00:00
Fix Mapster32 crash caused by custom s_buildRev strings longer than five characters.
(Note: We are still vulnerable to crashes here (and likely in other places), but you have (4096-16) extra characters to work with. We should consider replacing many uses of Bsprintf with Bsnprintf.) git-svn-id: https://svn.eduke32.com/eduke32@3669 1a8010ca-5511-0410-912e-c29ae57300e0
This commit is contained in:
parent
82b6414d92
commit
2bbc1dd97a
1 changed files with 0 additions and 1 deletions
|
@ -8693,7 +8693,6 @@ static void clearministatbar16(void)
|
|||
{
|
||||
int32_t i, col = whitecol - 21;
|
||||
// static const char *tempbuf = "Mapster32" " " VERSION;
|
||||
char tempbuf[16];
|
||||
|
||||
begindrawing();
|
||||
|
||||
|
|
Loading…
Reference in a new issue