rpms/ruby-gnome2/F-7 ruby-gnome2-all-0.16.0-gtk-security.patch, NONE, 1.1 ruby-gnome2.spec, 1.9, 1.10
Allisson Azevedo (allisson)
fedora-extras-commits at redhat.com
Tue Dec 4 20:41:18 UTC 2007
Author: allisson
Update of /cvs/extras/rpms/ruby-gnome2/F-7
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv4459/F-7
Modified Files:
ruby-gnome2.spec
Added Files:
ruby-gnome2-all-0.16.0-gtk-security.patch
Log Message:
Fix CVE-2007-6183, format string vulnerability (bugzilla #402871)
ruby-gnome2-all-0.16.0-gtk-security.patch:
--- NEW FILE ruby-gnome2-all-0.16.0-gtk-security.patch ---
diff -up ruby-gnome2-all-0.16.0/gtk/src/rbgtkmessagedialog.c.security ruby-gnome2-all-0.16.0/gtk/src/rbgtkmessagedialog.c
--- ruby-gnome2-all-0.16.0/gtk/src/rbgtkmessagedialog.c.security 2007-12-04 10:03:02.000000000 -0300
+++ ruby-gnome2-all-0.16.0/gtk/src/rbgtkmessagedialog.c 2007-12-04 10:04:10.000000000 -0300
@@ -28,7 +28,8 @@ mdiag_initialize(argc, argv, self)
RVAL2GFLAGS(flags, GTK_TYPE_DIALOG_FLAGS),
RVAL2GENUM(type, GTK_TYPE_MESSAGE_TYPE),
RVAL2GENUM(buttons, GTK_TYPE_BUTTONS_TYPE),
- (const gchar*)(NIL_P(message) ? "": RVAL2CSTR(message)));
+ "%s",
+ NIL_P(message) ? "": RVAL2CSTR(message));
RBGTK_INITIALIZE(self, w);
return Qnil;
}
Index: ruby-gnome2.spec
===================================================================
RCS file: /cvs/extras/rpms/ruby-gnome2/F-7/ruby-gnome2.spec,v
retrieving revision 1.9
retrieving revision 1.10
diff -u -r1.9 -r1.10
--- ruby-gnome2.spec 27 Nov 2007 15:04:25 -0000 1.9
+++ ruby-gnome2.spec 4 Dec 2007 20:40:45 -0000 1.10
@@ -3,7 +3,7 @@
Name: ruby-gnome2
Version: 0.16.0
-Release: 17%{?dist}
+Release: 18%{?dist}
Summary: Ruby binding of libgnome/libgnomeui-2.x
Group: System Environment/Libraries
@@ -15,6 +15,7 @@
Patch10: ruby-gnome2-all-0.16.0-typedef.patch
Patch11: ruby-gnome2-all-0.16.0-newpoppler.patch
Patch12: ruby-gnome2-all-0.16.0-glib-2.14.patch
+Patch13: ruby-gnome2-all-0.16.0-gtk-security.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
BuildRequires: ruby ruby-devel gtk2-devel libgnome-devel libgnomeui-devel
@@ -433,6 +434,7 @@
%patch10 -p1 -b .typedef
%patch11 -p1 -b .newpoppler
%patch12 -p1 -b .glib2_14
+%patch13 -p1 -b .security
#Because of an error in upstream packaging there is a second ruby-gnome2 dir inside so we delete it
#%{__rm} -rf %{name}
@@ -626,6 +628,10 @@
%changelog
+
+* Tue Dec 4 2007 Allisson Azevedo <allisson at gmail.com> 0.16.0-18
+- Fix CVE-2007-6183, format string vulnerability (bugzilla #402871)
+
* Tue Nov 27 2007 Christopher Aillon <caillon at redhat.com> 0.16.0-17
- Rebuild against newer gecko
More information about the fedora-extras-commits
mailing list