This is an automated email from the git hooks/post-receive script. x2go pushed a commit to branch master in repository x2goclient. commit db261211d573cd99ed359bca6fc3219fadb70c97 Author: Mike DePaulo <mikedep333@gmail.com> Date: Sun May 10 11:02:42 2015 -0400 Windows: Do not delete saved PuTTY sessions when Kerberos 5 (GSSAPI) authentication is enabled (Fixes: #625) --- debian/changelog | 2 ++ src/sshprocess.cpp | 7 +++++++ 2 files changed, 9 insertions(+) diff --git a/debian/changelog b/debian/changelog index 6536b5c..f5238a3 100644 --- a/debian/changelog +++ b/debian/changelog @@ -2,6 +2,8 @@ x2goclient (4.0.4.0-0x2go1) UNRELEASED; urgency=low [ Mike DePaulo ] * New upstream release (4.0.4.0): + - Windows: Do not delete saved PuTTY sessions when Kerberos 5 + (GSSAPI) authentication is enabled (Fixes: #625) - Windows: Include debug build in the regular installer. It is an optional component during the install. It is not installed by default. diff --git a/src/sshprocess.cpp b/src/sshprocess.cpp index ffecb51..d3e1911 100644 --- a/src/sshprocess.cpp +++ b/src/sshprocess.cpp @@ -171,6 +171,13 @@ void SshProcess::addPuttyReg(QString host, QString uuidStr) void SshProcess::rmPuttyReg(QString uuidStr) { + if (uuidStr.isEmpty()) + { +#ifdef DEBUG + x2goDebug<<"uuidStr is empty. No PuTTY session reg key to delete."<<endl; +#endif + return; + } #ifdef DEBUG x2goDebug<<"deleting key in registry: HKEY_CURRENT_USER\\Software\\SimonTatham\\PuTTY\\Sessions\\"+uuidStr<<endl; #endif -- Alioth's /srv/git/code.x2go.org/x2goclient.git//..//_hooks_/post-receive-email on /srv/git/code.x2go.org/x2goclient.git