diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2021-01-08 11:28:34 +0000 |
commit | 24fd814c326e282c4321965c31f341dad77e270d (patch) | |
tree | 033d63b33c21a3209964ab56005bb9bdd523630d /kde-apps/kio-extras/files | |
parent | 129160ec854dca4c3fedb5bcfbcb56930371da0f (diff) |
gentoo resync : 08.01.2021
Diffstat (limited to 'kde-apps/kio-extras/files')
-rw-r--r-- | kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch | 26 |
1 files changed, 26 insertions, 0 deletions
diff --git a/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch b/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch new file mode 100644 index 000000000000..ecc7af90e67a --- /dev/null +++ b/kde-apps/kio-extras/files/kio-extras-20.12.1-dont-log-pwd.patch @@ -0,0 +1,26 @@ +From 6c099045f6f67069ad7b5f4deb6873cf5f34a4f4 Mon Sep 17 00:00:00 2001 +From: Harald Sitter <sitter@kde.org> +Date: Thu, 7 Jan 2021 14:45:34 +0100 +Subject: [PATCH] don't log passwords + +obviously not useful but dangerous +--- + smb/smbauthenticator.cpp | 2 +- + 1 file changed, 1 insertion(+), 1 deletion(-) + +diff --git a/smb/smbauthenticator.cpp b/smb/smbauthenticator.cpp +index 4386e823..d4bf7032 100644 +--- a/smb/smbauthenticator.cpp ++++ b/smb/smbauthenticator.cpp +@@ -94,7 +94,7 @@ void SMBAuthenticator::auth(const char *server, const char *share, char *workgro + // https://bugzilla.samba.org/show_bug.cgi?id=14326 + + if (m_frontend.checkCachedAuthentication(info)) { +- qCDebug(KIO_SMB_LOG) << "got password through cache" << info.username << info.password; ++ qCDebug(KIO_SMB_LOG) << "got password through cache" << info.username; + } else if (!m_defaultUser.isEmpty()) { + // user defined a default username/password in kcontrol; try this + info.username = m_defaultUser; +-- +GitLab + |