Fixed a potential buffer overflow in the chat system.

This commit is contained in:
Walter Julius Hennecke 2014-03-29 01:25:29 +01:00
parent e4932d9945
commit 36d0bedf60
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.3b"
#define RPGX_VERSION "RPG-X V 2.3.4b"
#define RPGX_COMPILEDATE "20/02/14"
#define RPGX_COMPILEDBY "GSIO01"
#define GAME_VERSION "RPG-X v" RPGX_VERSION

View file

@ -1428,8 +1428,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.3b"
#define Q3_VERSION "RPG-X V 2.3.4b"
// end