2015-03-20 13:56:04 +00:00
|
|
|
diff -up openssh-6.8p1/packet.c.packet openssh-6.8p1/packet.c
|
|
|
|
--- openssh-6.8p1/packet.c.packet 2015-03-18 10:56:32.286930601 +0100
|
|
|
|
+++ openssh-6.8p1/packet.c 2015-03-18 10:58:38.535629739 +0100
|
|
|
|
@@ -371,6 +371,8 @@ ssh_packet_connection_is_on_socket(struc
|
2011-04-05 18:54:12 +00:00
|
|
|
struct sockaddr_storage from, to;
|
|
|
|
socklen_t fromlen, tolen;
|
|
|
|
|
2015-03-20 13:56:04 +00:00
|
|
|
+ if (!state)
|
2011-04-05 18:54:12 +00:00
|
|
|
+ return 0;
|
2016-07-25 14:21:15 +00:00
|
|
|
if (state->connection_in == -1 || state->connection_out == -1)
|
|
|
|
return 0;
|
|
|
|
|