summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 23:04:22 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2004-12-13 23:04:22 +0000
commitc9e34e95d3d79d28927300684aaab6940fd03c9e (patch)
treefddd2ef7689e876949702bbeffa3eec3cdbc8aa3
parentce434f4740a6447fdabd84708de6570b92a71468 (diff)
downloadhercules-c9e34e95d3d79d28927300684aaab6940fd03c9e.tar.gz
hercules-c9e34e95d3d79d28927300684aaab6940fd03c9e.tar.bz2
hercules-c9e34e95d3d79d28927300684aaab6940fd03c9e.tar.xz
hercules-c9e34e95d3d79d28927300684aaab6940fd03c9e.zip
update
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@565 54d463be-8e91-2dee-dedb-b68131a5f0ec
-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;