[SCM] kdeconnect packaging branch, master, updated. debian/0.9g-1-1183-g9d69498

Maximiliano Curia maxy at moszumanska.debian.org
Fri Oct 14 14:28:28 UTC 2016


Gitweb-URL: http://git.debian.org/?p=pkg-kde/kde-extras/kdeconnect.git;a=commitdiff;h=70e3aec

The following commit has been merged in the master branch:
commit 70e3aec2784216fa1bd5183b80f00adcc7f5dd8e
Author: Albert Vaca Cintora <acintora at amazon.com>
Date:   Wed Apr 1 11:00:36 2015 -0700

    Fixed potential array out of bounds crash
---
 plugins/mousepad/mousepadplugin.cpp | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/plugins/mousepad/mousepadplugin.cpp b/plugins/mousepad/mousepadplugin.cpp
index a8df8fb..f49aa7f 100644
--- a/plugins/mousepad/mousepadplugin.cpp
+++ b/plugins/mousepad/mousepadplugin.cpp
@@ -162,7 +162,7 @@ bool MousepadPlugin::receivePackage(const NetworkPackage& np)
 
             if (specialKey)
             {
-                if (specialKey > (int)arraySize(SpecialKeysMap)) {
+                if (specialKey >= (int)arraySize(SpecialKeysMap)) {
                     qWarning() << "Unsupported special key identifier";
                     return false;
                 }

-- 
kdeconnect packaging



More information about the pkg-kde-commits mailing list