Fixed a potential buffer overflow.

This commit is contained in:
Walter Julius Hennecke 2014-03-29 01:23:37 +01:00
parent 80a37c8252
commit cfec855c15
3 changed files with 4 additions and 4 deletions

View file

@ -8,7 +8,7 @@
// because games can change separately from the main system version, we need a
// second version that must match between game and cgame
#define RPGX_VERSION "RPG-X V 2.3.3db"
#define RPGX_VERSION "RPG-X V 2.3.4db"
#define RPGX_COMPILEDATE "20/05/11"
#define RPGX_COMPILEDBY "GSIO01"
#define GAME_VERSION "RPG-X v" RPGX_VERSION

View file

@ -1433,8 +1433,8 @@ static void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chat
int j;
gentity_t *other;
int color;
char name[80];
char text[150];
char name[136];
char text[878];
char location[64];
char *className;
gclient_t *entClient = ent->client;

View file

@ -1,5 +1,5 @@
// Current version of holomatch game
#define Q3_VERSION "RPG-X V 2.3.3db"
#define Q3_VERSION "RPG-X V 2.3.4db"
// end