diff options
author | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-12 17:12:23 +0000 |
---|---|---|
committer | FlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec> | 2008-01-12 17:12:23 +0000 |
commit | c6ca79ad9e7a897e3598bede517b5b1e829aea7c (patch) | |
tree | d4dc7fb15649575ddf185ec0beb873f0bff6d218 /src/map/npc.c | |
parent | 055ad9376532828d783dc0966ff4b4b46b3efec4 (diff) | |
download | hercules-c6ca79ad9e7a897e3598bede517b5b1e829aea7c.tar.gz hercules-c6ca79ad9e7a897e3598bede517b5b1e829aea7c.tar.bz2 hercules-c6ca79ad9e7a897e3598bede517b5b1e829aea7c.tar.xz hercules-c6ca79ad9e7a897e3598bede517b5b1e829aea7c.zip |
* Possible fix to ers/status_change crashing. [FlavioJS]
- this patch is untested. Didn't find anyone willing to test it and I can't reproduce the crash so can't test the patch.
symptom:
status_change_entry.timer is being modified after the entry is freed.
ers uses that memory location as a pointer when the entry is freed, it crashes when accessing the contents when it points to an invalid location.
assumption:
status_change_start starts an already existing status.
as a consequence of something called inside status_change_start the status is ended.
when the sce is finally being modified, it's modifying a freed entry.
git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@12058 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'src/map/npc.c')
0 files changed, 0 insertions, 0 deletions