Fixed memory corruption associated with afm files [SVN 1363: MouseJstr]
git-svn-id: https://svn.code.sf.net/p/rathena/svn/branches/stable@1363 54d463be-8e91-2dee-dedb-b68131a5f0ec
This commit is contained in:
parent
ae0db54f77
commit
a26bc148fb
@ -2,6 +2,7 @@
|
|||||||
Date Added
|
Date Added
|
||||||
|
|
||||||
03/31
|
03/31
|
||||||
|
* Fixed memory corruption associated with afm files [SVN 1363: MouseJstr]
|
||||||
* More pedantic g++ fixes so that it builds without any and
|
* More pedantic g++ fixes so that it builds without any and
|
||||||
all warnings [SVN 1362: MouseJstr]
|
all warnings [SVN 1362: MouseJstr]
|
||||||
* Removed some #include's causing warnings on some platforms
|
* Removed some #include's causing warnings on some platforms
|
||||||
|
@ -2395,7 +2395,7 @@ static int map_readafm(int m,char *fn) {
|
|||||||
size_t size;
|
size_t size;
|
||||||
|
|
||||||
char afm_line[65535];
|
char afm_line[65535];
|
||||||
int afm_size[1];
|
int afm_size[2];
|
||||||
FILE *afm_file;
|
FILE *afm_file;
|
||||||
char *str;
|
char *str;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user