From 57ebedf7f87210271339c96a48d3940e0a347a2d Mon Sep 17 00:00:00 2001 From: Than Ngo Date: Tue, 16 Feb 2010 11:18:09 +0000 Subject: [PATCH] krunner crash patch (kde#227118) --- kdelibs-4.4.0-krunner-crash-kde#227118.patch | 15 +++++++++++++++ kdelibs.spec | 7 ++++++- 2 files changed, 21 insertions(+), 1 deletion(-) create mode 100644 kdelibs-4.4.0-krunner-crash-kde#227118.patch diff --git a/kdelibs-4.4.0-krunner-crash-kde#227118.patch b/kdelibs-4.4.0-krunner-crash-kde#227118.patch new file mode 100644 index 0000000..0b9e174 --- /dev/null +++ b/kdelibs-4.4.0-krunner-crash-kde#227118.patch @@ -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 ++) { diff --git a/kdelibs.spec b/kdelibs.spec index a41eeb1..06754ee 100644 --- a/kdelibs.spec +++ b/kdelibs.spec @@ -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 - 6:4.4.0-8 +- krunner crash patch (kde#227118) + * Sat Feb 13 2010 Kevin Kofler - 6:4.4.0-7 - rebuild for new kde-filesystem in F13, fixes kde4-config --libsuffix (#564712)