Fix use-after-free condition when reconnecting silcd to router silcd.
authorSkywing <skywing@valhallalegends.com>
Fri, 12 Dec 2008 04:57:37 +0000 (23:57 -0500)
committerSkywing <skywing@valhallalegends.com>
Fri, 12 Dec 2008 04:57:37 +0000 (23:57 -0500)
commit85f7454c353763cb25aa719409e656bfd8d878df
tree2cb5219779f697ab4d8b22ee5b66dc0b1d53705a
parentce742c4140e578ab25c84eef9c189892c3681214
Fix use-after-free condition when reconnecting silcd to router silcd.

This fixes a use-after-free bug wherein silcd can reuse the context on
the SilcPacketStream when we receive an EOS indication after the link
was terminated due to a timeout error.
apps/silcd/server.c