mirror of
https://github.com/UberGames/rpgxEF.git
synced 2024-11-10 07:11:34 +00:00
Fixed a potential buffer overflow in the chat system.
This commit is contained in:
parent
e4932d9945
commit
36d0bedf60
3 changed files with 4 additions and 4 deletions
|
@ -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
|
||||
|
|
|
@ -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;
|
||||
|
|
|
@ -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
|
||||
|
|
Loading…
Reference in a new issue