summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--Changelog.txt2
-rw-r--r--src/char_sql/int_guild.c2
2 files changed, 3 insertions, 1 deletions
diff --git a/Changelog.txt b/Changelog.txt
index ba2e5eca3..a7c1f33c1 100644
--- a/Changelog.txt
+++ b/Changelog.txt
@@ -1,5 +1,7 @@
Date Added
12/14
+ * src/char_sql/int_guild.c:56 - t_mes2 was not big enough causing
+ stack overrun's, corruptions, and crashes [MouseJstr]
* common/mmo.h: changed base_level and job_level to unsigned int to increase max levels [Codemaster]
* char/char.c: added a NULL check for the file in parse_friend_txt [Codemaster]
* map/atcommand.c/.h: added @clearweather (thanks to Dexity) [Codemaster]
diff --git a/src/char_sql/int_guild.c b/src/char_sql/int_guild.c
index 69fe587aa..e8e6a6360 100644
--- a/src/char_sql/int_guild.c
+++ b/src/char_sql/int_guild.c
@@ -53,7 +53,7 @@ int inter_guild_tosql(struct guild *g,int flag)
// 16 `guild_expulsion` (`guild_id`,`name`,`mes`,`acc`,`account_id`,`rsv1`,`rsv2`,`rsv3`)
// 32 `guild_skill` (`guild_id`,`id`,`lv`)
- char t_name[100],t_master[24],t_mes1[60],t_mes2[120],t_member[24],t_position[24],t_alliance[24]; // temporay storage for str convertion;
+ char t_name[100],t_master[24],t_mes1[60],t_mes2[240],t_member[24],t_position[24],t_alliance[24]; // temporay storage for str convertion;
char t_ename[24],t_emes[40];
char emblem_data[4096];
int i=0;