summaryrefslogtreecommitdiff
path: root/npc
diff options
context:
space:
mode:
authorFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-29 20:07:22 +0000
committerFlavioJS <FlavioJS@54d463be-8e91-2dee-dedb-b68131a5f0ec>2006-11-29 20:07:22 +0000
commit04190264ba7007c84a69b21ac65b3779841cc04b (patch)
tree1f330fd53e9557a34bf829f7f1ce2da30a2197b6 /npc
parentb8dca07266d170be982122e6f6e6397a97d14200 (diff)
downloadhercules-04190264ba7007c84a69b21ac65b3779841cc04b.tar.gz
hercules-04190264ba7007c84a69b21ac65b3779841cc04b.tar.bz2
hercules-04190264ba7007c84a69b21ac65b3779841cc04b.tar.xz
hercules-04190264ba7007c84a69b21ac65b3779841cc04b.zip
- Probably fixed the Segmentation Faults we've been having.
Description: A player quits and it's session is freed and set to NULL, but the char server already sent a packet with player information (registers, storage, ...). If a message is sent in consequence of updating that info, a segmentation fault happens because session[sd->fd] is already NULL. Fix: make shure the session of the target player is valid before processing the rest of the char server's message. - Some minor cleanups. git-svn-id: https://rathena.svn.sourceforge.net/svnroot/rathena/trunk@9366 54d463be-8e91-2dee-dedb-b68131a5f0ec
Diffstat (limited to 'npc')
0 files changed, 0 insertions, 0 deletions