[SCM] ktp-auth-handler packaging branch, master, updated. debian/15.12.1-2-282-g080758e
Maximiliano Curia
maxy at moszumanska.debian.org
Fri May 27 23:59:27 UTC 2016
Gitweb-URL: http://git.debian.org/?p=pkg-kde/applications/ktp-auth-handler.git;a=commitdiff;h=638062b
The following commit has been merged in the master branch:
commit 638062b18e314790622e639ad263a3317b47026c
Author: David Edmundson <kde at davidedmundson.co.uk>
Date: Mon Apr 21 01:40:26 2014 +0200
Verify DBusResponse in ConferenceAuthOp before using args
BUG: 332052
---
conference-auth-op.cpp | 4 ++++
1 file changed, 4 insertions(+)
diff --git a/conference-auth-op.cpp b/conference-auth-op.cpp
index 32c0161..f3c36b0 100644
--- a/conference-auth-op.cpp
+++ b/conference-auth-op.cpp
@@ -102,6 +102,10 @@ void ConferenceAuthOp::passwordDialog()
void ConferenceAuthOp::onPasswordProvided(QDBusPendingCallWatcher *watcher)
{
QDBusPendingReply<bool> reply = *watcher;
+ if (!reply.isValid() || reply.count() < 1) {
+ return;
+ }
+
if (reply.argumentAt<0>()) {
m_walletInterface->setEntry(m_account,m_channel->targetId(), m_password);
setFinished();
--
ktp-auth-handler packaging
More information about the pkg-kde-commits
mailing list