From f24c41af107b18bae5fccf7fd1cc483454ec6b71 Mon Sep 17 00:00:00 2001 From: blackhole89 Date: Thu, 9 Mar 2006 20:51:19 +0000 Subject: MAX_WEAPON_TYPE was used with less-than during loading, thus causing the weapon class MAX_WEAPON_TYPE not being read in. Additionally, aspd_base was too small (MAX_WEAPON_TYPE rather than MAX_WEAPON_TYPE+1), thus causing out-of-bounds memory access each time it was used. I wonder why nobody noticed that yet. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@5540 54d463be-8e91-2dee-dedb-b68131a5f0ec --- Changelog-Trunk.txt | 3 +++ 1 file changed, 3 insertions(+) (limited to 'Changelog-Trunk.txt') diff --git a/Changelog-Trunk.txt b/Changelog-Trunk.txt index 5914be5c1..03e5291bc 100644 --- a/Changelog-Trunk.txt +++ b/Changelog-Trunk.txt @@ -5,6 +5,9 @@ IF YOU HAVE A WORKING AND TESTED BUGFIX PUT IT INTO STABLE AS WELL AS TRUNK. EV GOES INTO TRUNK AND WILL BE MERGED INTO STABLE BY VALARIS AND WIZPUTER. -- VALARIS 2006/03/09 + * Fixed a major memory leak in status.c causing the last column of job_db1.txt + never being read. I have no idea how long this has been there, but signs point + to us using Katars at a random ASPD from somewhere in memory for ages. [blackhole89] * Fixed a critical bug in job_db1.txt reading in status_readdb. [blackhole89] * Fixed pc_damage_sp not properly substracting SP. [Skotlex] * Made Magic Crasher a BF_WEAPON attack. [Skotlex] -- cgit v1.2.3-60-g2f50