fix another khtml kpart crasher

(to go with the previous one)
This commit is contained in:
Lukas Tinkl 2009-10-12 16:31:16 +00:00
parent 213ea1d9a2
commit e62fbf5640
2 changed files with 20 additions and 1 deletions

View File

@ -0,0 +1,14 @@
Index: khtml/khtml_part.cpp
===================================================================
--- khtml/khtml_part.cpp (revision 1033983)
+++ khtml/khtml_part.cpp (revision 1033984)
@@ -609,7 +609,8 @@
if ( d->m_view )
{
- widget()->hide();
+ if (widget())
+ widget()->hide();
d->m_view->m_part = 0;
}

View File

@ -4,7 +4,7 @@
Summary: K Desktop Environment 4 - Libraries
Version: 4.3.2
Release: 3%{?dist}
Release: 4%{?dist}
Name: kdelibs
Epoch: 6
@ -81,6 +81,7 @@ Patch24: kdelibs-4.3.1-drkonq.patch
# 4.3 branch
Patch100: kdelibs-4.3.2-kde#209712.patch
Patch101: kdelibs-4.3.2-kde#207173.patch
Patch102: kdelibs-4.3.2-kde#1033984.patch
# security fix
Patch200: kdelibs-4.3.1-CVE-2009-2702.patch
@ -205,6 +206,7 @@ format for easy browsing.
# 4.3
%patch100 -p0 -b .kde#209712
%patch101 -p4 -b .kde#207173.patch
%patch102 -p0 -b .kde#1033984
# security fix
%patch200 -p1 -b .CVE-2009-2702
@ -397,6 +399,9 @@ rm -rf %{buildroot}
%changelog
* Mon Oct 12 2009 Lukáš Tinkl <ltinkl@redhat.com> - 4.3.2-4
- khtml kpart crasher nr. 2 (rev.1033984)
* Thu Oct 08 2009 Rex Dieter <rdieter@fedoraproject.org> - 4.3.2-3
- khtml kpart crasher (kde #207173/209876)