diff options
Diffstat (limited to 'src/packet.c')
-rw-r--r-- | src/packet.c | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/src/packet.c b/src/packet.c index 39ecf362..1181ca7d 100644 --- a/src/packet.c +++ b/src/packet.c @@ -1606,6 +1606,9 @@ static int packet_send2(ssh_session session) } rc = ssh_packet_write(session); + if (rc == SSH_ERROR) { + goto error; + } session->send_seq++; if (crypto != NULL) { struct ssh_cipher_struct *cipher = NULL; |