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:
hendricks266 2013-04-13 03:49:58 +00:00
parent 82b6414d92
commit 2bbc1dd97a

View file

@ -8693,7 +8693,6 @@ static void clearministatbar16(void)
{ {
int32_t i, col = whitecol - 21; int32_t i, col = whitecol - 21;
// static const char *tempbuf = "Mapster32" " " VERSION; // static const char *tempbuf = "Mapster32" " " VERSION;
char tempbuf[16];
begindrawing(); begindrawing();