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.

24 lines
776 B

  1. From e4c6d591df6a9c34c1ff3ec9f367c7257122bef3 Mon Sep 17 00:00:00 2001
  2. From: Andreas Schneider <asn@cryptomilk.org>
  3. Date: Wed, 17 Oct 2018 07:23:10 +0200
  4. Subject: [PATCH 2/8] packet: Add missing break in ssh_packet_incoming_filter()
  5. CID 1396239
  6. Signed-off-by: Andreas Schneider <asn@cryptomilk.org>
  7. (cherry picked from commit fe618a35dc4be3e73ddf29d0c4a96b98d3b9c48f)
  8. Signed-off-by: Kevin Darbyshire-Bryant <ldir@darbyshire-bryant.me.uk>
  9. ---
  10. src/packet.c | 1 +
  11. 1 file changed, 1 insertion(+)
  12. --- a/src/packet.c
  13. +++ b/src/packet.c
  14. @@ -285,6 +285,7 @@ static enum ssh_packet_filter_result_e s
  15. (session->dh_handshake_state != DH_STATE_FINISHED))
  16. {
  17. rc = SSH_PACKET_DENIED;
  18. + break;
  19. }
  20. rc = SSH_PACKET_ALLOWED;