summaryrefslogtreecommitdiff
path: root/src/char
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 21:03:22 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 21:03:22 +0000
commit5d58b51f5c8332f20d152ee1364f10d190506683 (patch)
treed9511cda60df74ea454c8b132dcdc21e3c154211 /src/char
parent674cf5bf3772d551ef3b0ef8be9101acc3dddbe8 (diff)
downloadhercules-5d58b51f5c8332f20d152ee1364f10d190506683.tar.gz
hercules-5d58b51f5c8332f20d152ee1364f10d190506683.tar.bz2
hercules-5d58b51f5c8332f20d152ee1364f10d190506683.tar.xz
hercules-5d58b51f5c8332f20d152ee1364f10d190506683.zip
fixed memory corruption in mapif_guild_info:int_guild.c
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1367 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/char')
-rw-r--r--src/char/int_guild.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/char/int_guild.c b/src/char/int_guild.c
index 95f0cf099..9268d9339 100644
--- a/src/char/int_guild.c
+++ b/src/char/int_guild.c
@@ -731,7 +731,7 @@ int mapif_guild_noinfo(int fd, int guild_id) {
// ギルド情報まとめ送り
int mapif_guild_info(int fd, struct guild *g) {
- unsigned char buf[2048];
+ unsigned char buf[16384];
WBUFW(buf,0) = 0x3831;
memcpy(buf + 4, g, sizeof(struct guild));