krunner crash patch (kde#227118)

This commit is contained in:
Than Ngo 2010-02-16 11:18:09 +00:00
parent 6a7fd37df9
commit 57ebedf7f8
2 changed files with 21 additions and 1 deletions

View File

@ -0,0 +1,15 @@
Index: plasma/runnercontext.cpp
===================================================================
--- plasma/runnercontext.cpp (Revision 1090801)
+++ plasma/runnercontext.cpp (Revision 1090802)
@@ -128,6 +128,10 @@
components.pop_back();
}
+ if (components.isEmpty()) {
+ return true;
+ }
+
QString correctPath;
const unsigned initialComponents = components.size();
for (unsigned i = 0; i < initialComponents - 1; i ++) {

View File

@ -8,7 +8,7 @@
Summary: KDE Libraries
Version: 4.4.0
Release: 7%{?dist}
Release: 8%{?dist}
Name: kdelibs
Epoch: 6
@ -92,6 +92,7 @@ Patch27: kdelibs-4.3.98-no_rpath.patch
# 4.4 upstream
Patch100: kdelibs-4.4.0-khtml_scrolling.patch
Patch101: kdelibs-4.4.0-nepomuk_memleak.patch
patch102: kdelibs-4.4.0-krunner-crash-kde#227118.patch
# security fix
## Not Upstreamed? why not ? -- Rex
@ -244,6 +245,7 @@ format for easy browsing.
# upstream patches
%patch100 -p4 -b .khtml_scrolling
%patch101 -p4 -b .nepomuk_memleak
%patch102 -p0 -b .krunner-crash-kde#227118
# security fix
%patch200 -p1 -b .CVE-2009-2702
@ -435,6 +437,9 @@ rm -rf %{buildroot}
%changelog
* Tue Feb 16 2010 Than Ngo <than@redhat.com> - 6:4.4.0-8
- krunner crash patch (kde#227118)
* Sat Feb 13 2010 Kevin Kofler <Kevin@tigcc.ticalc.org> - 6:4.4.0-7
- rebuild for new kde-filesystem in F13, fixes kde4-config --libsuffix (#564712)