You can not select more than 25 topics
Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.
12 lines
425 B
12 lines
425 B
diff -up openssh-5.8p1/packet.c.packet openssh-5.8p1/packet.c |
|
--- openssh-5.8p1/packet.c.packet 2011-04-05 13:29:06.998648899 +0200 |
|
+++ openssh-5.8p1/packet.c 2011-04-05 13:30:32.967648596 +0200 |
|
@@ -294,6 +294,8 @@ packet_connection_is_on_socket(void) |
|
struct sockaddr_storage from, to; |
|
socklen_t fromlen, tolen; |
|
|
|
+ if (!state) |
|
+ return 0; |
|
if (state->connection_in == -1 || state->connection_out == -1) |
|
return 0; |
|
|
|
|