summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authoramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 20:31:57 +0000
committeramber <amber@54d463be-8e91-2dee-dedb-b68131a5f0ec>2005-03-31 20:31:57 +0000
commit634bdec0ab92f420ad2e004790514b9350c663bd (patch)
treeef5e937d4863c62fdd79a1b4068791217004bc73 /src
parent1150272fe0ef7330c35fcb8d31a59dd055cd490d (diff)
downloadhercules-634bdec0ab92f420ad2e004790514b9350c663bd.tar.gz
hercules-634bdec0ab92f420ad2e004790514b9350c663bd.tar.bz2
hercules-634bdec0ab92f420ad2e004790514b9350c663bd.tar.xz
hercules-634bdec0ab92f420ad2e004790514b9350c663bd.zip
Fixed memory corruption associated with afm files [SVN 1363: MouseJstr]
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/branches/stable@1363 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src')
-rw-r--r--src/map/map.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/map/map.c b/src/map/map.c
index c6c90b815..7dd073f4b 100644
--- a/src/map/map.c
+++ b/src/map/map.c
@@ -2395,7 +2395,7 @@ static int map_readafm(int m,char *fn) {
size_t size;
char afm_line[65535];
- int afm_size[1];
+ int afm_size[2];
FILE *afm_file;
char *str;