Commit 936ad724 authored by Robert Loehning's avatar Robert Loehning

SSH: Catch all exceptions in SshConnectionPrivate::closeConnection

SshClientException or SshServerException might
be thrown in SshAbstractCryptoFacility::convert

Change-Id: I0950ce8d7979c171926a12f6c6d94abeffcc4b93
Reviewed-by: Christian Kandeler's avatarChristian Kandeler <>
parent 65d6a5aa
......@@ -802,7 +802,7 @@ void SshConnectionPrivate::closeConnection(SshErrorCode sshError,
try {
m_sendFacility.sendDisconnectPacket(sshError, serverErrorString);
} catch (const Botan::Exception &) {} // Nothing sensible to be done here.
} catch (...) {} // Nothing sensible to be done here.
if (m_error != SshNoError)
emit error(userError);
if (m_state == ConnectionEstablished)
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment