summaryrefslogtreecommitdiff
path: root/src/map/status.c
diff options
context:
space:
mode:
authorpanikon <panikon@zoho.com>2014-07-09 00:55:38 -0300
committerpanikon <panikon@zoho.com>2014-07-09 00:55:38 -0300
commite829011073ff9906542b1bc0f5615f714c91eff0 (patch)
tree3ee382d8c2ac32cf4fe8a191fd3664dcb019c288 /src/map/status.c
parent29de937a2d8b485498fa9ce573efebfb64e8d669 (diff)
downloadhercules-e829011073ff9906542b1bc0f5615f714c91eff0.tar.gz
hercules-e829011073ff9906542b1bc0f5615f714c91eff0.tar.bz2
hercules-e829011073ff9906542b1bc0f5615f714c91eff0.tar.xz
hercules-e829011073ff9906542b1bc0f5615f714c91eff0.zip
Fixed possible crash in clif_getareachar_skillunit, related to issue 6561 (http://hercules.ws/board/tracker/issue-6561-unknown-map-server-crash/)
Follow up to 29de937a2d8b485498fa9ce573efebfb64e8d669
Diffstat (limited to 'src/map/status.c')
-rw-r--r--src/map/status.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/map/status.c b/src/map/status.c
index 499c50e3b..915559260 100644
--- a/src/map/status.c
+++ b/src/map/status.c
@@ -3414,6 +3414,7 @@ void status_calc_regen(struct block_list *bl, struct status_data *st, struct reg
struct map_session_data *sd;
int val, skill_lv, reg_flag;
nullpo_retv(bl);
+ nullpo_retv(st);
if( !(bl->type&BL_REGEN) || !regen )
return;