aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAndreas Schneider <asn@cryptomilk.org>2018-10-17 07:23:10 +0200
committerAndreas Schneider <asn@cryptomilk.org>2018-10-19 14:09:47 +0200
commite4c6d591df6a9c34c1ff3ec9f367c7257122bef3 (patch)
treed36e083a3b5d51376b1d8e77e47a3d022a8bb80d
parentf81ca6161223e3566ce78a427571235fb6848fe9 (diff)
downloadlibssh-e4c6d591df6a9c34c1ff3ec9f367c7257122bef3.tar.gz
libssh-e4c6d591df6a9c34c1ff3ec9f367c7257122bef3.tar.xz
libssh-e4c6d591df6a9c34c1ff3ec9f367c7257122bef3.zip
packet: Add missing break in ssh_packet_incoming_filter()
CID 1396239 Signed-off-by: Andreas Schneider <asn@cryptomilk.org> (cherry picked from commit fe618a35dc4be3e73ddf29d0c4a96b98d3b9c48f)
-rw-r--r--src/packet.c1
1 files changed, 1 insertions, 0 deletions
diff --git a/src/packet.c b/src/packet.c
index 5a263328..502001e4 100644
--- a/src/packet.c
+++ b/src/packet.c
@@ -285,6 +285,7 @@ static enum ssh_packet_filter_result_e ssh_packet_incoming_filter(ssh_session se
(session->dh_handshake_state != DH_STATE_FINISHED))
{
rc = SSH_PACKET_DENIED;
+ break;
}
rc = SSH_PACKET_ALLOWED;