Blame openssh-5.8p1-packet.patch
|
Jakub Jelen |
132f8f |
diff -up openssh-6.8p1/packet.c.packet openssh-6.8p1/packet.c
|
|
Jakub Jelen |
132f8f |
--- openssh-6.8p1/packet.c.packet 2015-03-18 10:56:32.286930601 +0100
|
|
Jakub Jelen |
132f8f |
+++ openssh-6.8p1/packet.c 2015-03-18 10:58:38.535629739 +0100
|
|
Jakub Jelen |
132f8f |
@@ -371,6 +371,8 @@ ssh_packet_connection_is_on_socket(struc
|
|
Jan F |
8bc65c |
struct sockaddr_storage from, to;
|
|
Jan F |
8bc65c |
socklen_t fromlen, tolen;
|
|
Jan F |
8bc65c |
|
|
Jakub Jelen |
132f8f |
+ if (!state)
|
|
Jan F |
8bc65c |
+ return 0;
|
|
Jakub Jelen |
5878eb |
if (state->connection_in == -1 || state->connection_out == -1)
|
|
Jakub Jelen |
5878eb |
return 0;
|
|
Jakub Jelen |
5878eb |
|