rpms/kazehakase/F-12 kazehakase-0.5.8-crash-viewing-source-with-no-page.patch, NONE, 1.1 kazehakase.spec, 1.96, 1.97

Mamoru Tasaka mtasaka at fedoraproject.org
Fri Oct 16 15:03:09 UTC 2009


Author: mtasaka

Update of /cvs/extras/rpms/kazehakase/F-12
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv25863/F-12

Modified Files:
	kazehakase.spec 
Added Files:
	kazehakase-0.5.8-crash-viewing-source-with-no-page.patch 
Log Message:
* Sat Oct 17 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-2
- Fix crash when trying to view source or cert with no page loaded
  (bug 529334)


kazehakase-0.5.8-crash-viewing-source-with-no-page.patch:
 kz-actions.c |    2 ++
 1 file changed, 2 insertions(+)

--- NEW FILE kazehakase-0.5.8-crash-viewing-source-with-no-page.patch ---
Index: src/actions/kz-actions.c
===================================================================
--- src/actions/kz-actions.c	(revision 3869)
+++ src/actions/kz-actions.c	(revision 3870)
@@ -531,6 +531,7 @@
 {
 	KzWeb *web = KZ_WINDOW_CURRENT_WEB(kz);
 	GtkWidget *newtab;
+	if (!web) return;
 
 	newtab = kz_window_open_new_tab(kz, NULL);
 
@@ -541,6 +542,7 @@
 act_show_page_certificate (GtkAction *action, KzWindow *kz)
 {
 	KzWeb *web = KZ_WINDOW_CURRENT_WEB(kz);
+	if (!web) return;
 
 	kz_web_show_page_certificate(web);
 }


Index: kazehakase.spec
===================================================================
RCS file: /cvs/extras/rpms/kazehakase/F-12/kazehakase.spec,v
retrieving revision 1.96
retrieving revision 1.97
diff -u -p -r1.96 -r1.97
--- kazehakase.spec	29 Sep 2009 04:21:44 -0000	1.96
+++ kazehakase.spec	16 Oct 2009 15:03:08 -0000	1.97
@@ -38,7 +38,7 @@
 # When changing release number, please make it sure that
 # the new EVR won't be higher than the one of higher branch!!
 #
-%define		fedorarel	1
+%define		fedorarel	2
 %define		_release	%{fedorarel}%{?usesvn:.svn%svnver}
 
 %if 0%{?fedora} < 1
@@ -68,6 +68,7 @@ Patch14:	kazehakase-0.5.6-rev3769-embed-
 Patch15:	kazehakase-0.5.7-gtk0218.patch
 %endif
 Patch17:	kazehakase-0.5.7-external-rev938-libegg-parallel_make.patch
+Patch18:	kazehakase-0.5.8-crash-viewing-source-with-no-page.patch
 BuildRoot:	%{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 
 BuildRequires:	dbus-devel
@@ -200,6 +201,7 @@ This package uses WebKit for HTML render
 %patch15 -p0 -b .gtk -R
 %endif
 %patch17 -p0 -b .libegg_mak
+%patch18 -p0 -b .nopage
 
 %if %{need_autogen}
 sh autogen.sh
@@ -354,6 +356,10 @@ desktop-file-install \
 %endif
 
 %changelog
+* Sat Oct 17 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-2
+- Fix crash when trying to view source or cert with no page loaded
+  (bug 529334)
+
 * Tue Sep 29 2009 Mamoru Tasaka <mtasaka at ioa.s.u-tokyo.ac.jp> - 0.5.8-1
 - Update to 0.5.8
 




More information about the fedora-extras-commits mailing list