* [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-gtk2/files: ruby-gtk2-0.16.0-format-string.patch digest-ruby-gtk2-0.16.0-r2
@ 2007-11-28 20:02 Hans de Graaff (graaff)
0 siblings, 0 replies; only message in thread
From: Hans de Graaff (graaff) @ 2007-11-28 20:02 UTC (permalink / raw
To: gentoo-commits
graaff 07/11/28 20:02:27
Added: ruby-gtk2-0.16.0-format-string.patch
digest-ruby-gtk2-0.16.0-r2
Log:
Fix bug #200623
(Portage version: 2.1.3.19)
Revision Changes Path
1.1 dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch?rev=1.1&content-type=text/plain
Index: ruby-gtk2-0.16.0-format-string.patch
===================================================================
This patch fixes a format string vulnerability that got reported in bug #200623.
It is already fixed in upstream SVN in an identical manner.
--- gtk/src/rbgtkmessagedialog.c
+++ gtk/src/rbgtkmessagedialog.c
@@ -28,7 +28,8 @@
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;
}
1.1 dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2?rev=1.1&content-type=text/plain
Index: digest-ruby-gtk2-0.16.0-r2
===================================================================
MD5 b3b4f81ef0fe2ce6b3f965bb7c6d3686 ruby-gnome2-all-0.16.0.tar.gz 1208856
RMD160 c83c7cdcf633ad5cc213180f641a6c8f18002a9c ruby-gnome2-all-0.16.0.tar.gz 1208856
SHA256 0910f08c5224bc39aad66c46b506e5c97e260475ede6b427d5365a9ef2d69ad4 ruby-gnome2-all-0.16.0.tar.gz 1208856
--
gentoo-commits@gentoo.org mailing list
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2007-11-28 20:02 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2007-11-28 20:02 [gentoo-commits] gentoo-x86 commit in dev-ruby/ruby-gtk2/files: ruby-gtk2-0.16.0-format-string.patch digest-ruby-gtk2-0.16.0-r2 Hans de Graaff (graaff)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox