silcd: handle SIGNOFF notify for local clients correctly
authorPekka Riikonen <priikone@silcnet.org>
Fri, 27 Feb 2009 14:16:11 +0000 (16:16 +0200)
committerPekka Riikonen <priikone@silcnet.org>
Fri, 27 Feb 2009 14:16:11 +0000 (16:16 +0200)
commitf17f0003337914b58ced7b318ce8455ffc2a9e51
tree695c46fbc52446418f93c10d3d5a970970b6a5aa
parent888990de6ce49969c38b46385644f946dabab5d1
silcd: handle SIGNOFF notify for local clients correctly

In some rare cases router can send SIGNOFF notify to server for a client
that is locally connected to the server.  The server didn't close the
client's connection but freed the entry.  This later caused various
different crashes when accessing the freed the client.
apps/silcd/packet_receive.c
apps/silcd/server.c
apps/silcd/server_internal.h
apps/silcd/silcd.c