From 6bdac43b1e07d6a27fd9ad4f5f85cb47331d01bd Mon Sep 17 00:00:00 2001 From: Daniel Williams Date: Wed, 23 Aug 2006 20:31:46 +0000 Subject: [PATCH] - Fix null pointer dereference (Gnome.org #352587) --- gnome-keyring-0.5.2-null-fix.patch | 11 +++++++++++ gnome-keyring.spec | 7 ++++++- 2 files changed, 17 insertions(+), 1 deletion(-) create mode 100644 gnome-keyring-0.5.2-null-fix.patch diff --git a/gnome-keyring-0.5.2-null-fix.patch b/gnome-keyring-0.5.2-null-fix.patch new file mode 100644 index 0000000..c9b2c7d --- /dev/null +++ b/gnome-keyring-0.5.2-null-fix.patch @@ -0,0 +1,11 @@ +--- gnome-keyring-0.5.2/gnome-keyring.c.nullfix 2006-08-23 16:31:47.000000000 -0400 ++++ gnome-keyring-0.5.2/gnome-keyring.c 2006-08-23 16:32:25.000000000 -0400 +@@ -2483,7 +2483,7 @@ + GnomeKeyringResult result; + GList *found; + +- out_list = NULL; ++ *out_list = NULL; + attributes = make_attribute_list_for_network_password (user, + domain, + server, diff --git a/gnome-keyring.spec b/gnome-keyring.spec index d6e0281..784e1b0 100644 --- a/gnome-keyring.spec +++ b/gnome-keyring.spec @@ -3,10 +3,11 @@ Summary: A framework for managing user passwords and other secrets Name: gnome-keyring Version: 0.5.2 -Release: 1%{?dist} +Release: 2%{?dist} License: GPL/LGPL Group: System Environment/Libraries Source: gnome-keyring-%{version}.tar.bz2 +Patch0: gnome-keyring-0.5.2-null-fix.patch URL: http://www.gnome.org BuildRoot: %{_tmppath}/%{name}-%{version}-root Requires: gtk2 >= %{gtk2_version} @@ -33,6 +34,7 @@ use gnome-keyring. %prep %setup -q -n gnome-keyring-%{version} +%patch0 -p1 -b .nullfix %build %configure --disable-gtk-doc @@ -68,6 +70,9 @@ rm -rf $RPM_BUILD_ROOT %{_datadir}/gtk-doc/html/gnome-keyring/ %changelog +* Wed Aug 23 2006 Dan Williams - 0.5.2-2.fc6 +- Fix null pointer dereference (Gnome.org #352587) + * Mon Aug 21 2006 Matthias Clasen - 0.5.2-1.fc6 - Update to 0.5.2