Skip to content

Commit 36d0bed

Browse files
committed
Fixed a potential buffer overflow in the chat system.
1 parent e4932d9 commit 36d0bed

File tree

3 files changed

+4
-4
lines changed

3 files changed

+4
-4
lines changed

code/game/bg_public.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -8,7 +8,7 @@
88

99
// because games can change separately from the main system version, we need a
1010
// second version that must match between game and cgame
11-
#define RPGX_VERSION "RPG-X V 2.3.3b"
11+
#define RPGX_VERSION "RPG-X V 2.3.4b"
1212
#define RPGX_COMPILEDATE "20/02/14"
1313
#define RPGX_COMPILEDBY "GSIO01"
1414
#define GAME_VERSION "RPG-X v" RPGX_VERSION

code/game/g_cmds.c

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1428,8 +1428,8 @@ static void G_Say( gentity_t *ent, gentity_t *target, int mode, const char *chat
14281428
int j;
14291429
gentity_t *other;
14301430
int color;
1431-
char name[80];
1432-
char text[150];
1431+
char name[136];
1432+
char text[878];
14331433
char location[64];
14341434
char *className;
14351435
gclient_t *entClient = ent->client;

code/qcommon/stv_version.h

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,5 +1,5 @@
11
// Current version of holomatch game
22

3-
#define Q3_VERSION "RPG-X V 2.3.3b"
3+
#define Q3_VERSION "RPG-X V 2.3.4b"
44

55
// end

0 commit comments

Comments
 (0)