commit | d4302734d77585e553a66150ab60f30cbc3fd730 | [log] [tgz] |
---|---|---|
author | Andy Green <andy@warmcat.com> | Mon Feb 28 07:45:29 2011 +0000 |
committer | Andy Green <andy@warmcat.com> | Mon Feb 28 07:45:29 2011 +0000 |
tree | d459324e67c07e981ff6857b0e95436c1bd6ec1e | |
parent | 4eaa86b29192919da65c3614ddcd094905ac14af [diff] |
fix null protocol dereference when closing session Thanks to Christopher Baker for pointing out that when we close a session, if the close is coming before a protocol was negotiated for the connection or when the protocol was otherwise left at NULL, we'll blow a segfault. This implements his proposed fix. Reported-by: Christopher Baker <me@christopherbaker.net> Signed-off-by: Andy Green <andy@warmcat.com>