diff options
author | Hans de Graaff <graaff@gentoo.org> | 2007-11-28 20:02:26 +0000 |
---|---|---|
committer | Hans de Graaff <graaff@gentoo.org> | 2007-11-28 20:02:26 +0000 |
commit | 135e04796a73895fb2cb88ea787eabe636e81c7d (patch) | |
tree | 5c58255da0e0f195e7cb2c4c4242eb9daa7f93cd /dev-ruby/ruby-gtk2/files | |
parent | amd64 stable wrt #200650 (diff) | |
download | gentoo-2-135e04796a73895fb2cb88ea787eabe636e81c7d.tar.gz gentoo-2-135e04796a73895fb2cb88ea787eabe636e81c7d.tar.bz2 gentoo-2-135e04796a73895fb2cb88ea787eabe636e81c7d.zip |
Fix bug #200623
(Portage version: 2.1.3.19)
Diffstat (limited to 'dev-ruby/ruby-gtk2/files')
-rw-r--r-- | dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2 | 3 | ||||
-rw-r--r-- | dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch | 15 |
2 files changed, 18 insertions, 0 deletions
diff --git a/dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2 b/dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2 new file mode 100644 index 000000000000..3a3870dfc695 --- /dev/null +++ b/dev-ruby/ruby-gtk2/files/digest-ruby-gtk2-0.16.0-r2 @@ -0,0 +1,3 @@ +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 diff --git a/dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch b/dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch new file mode 100644 index 000000000000..b3e17e65cea8 --- /dev/null +++ b/dev-ruby/ruby-gtk2/files/ruby-gtk2-0.16.0-format-string.patch @@ -0,0 +1,15 @@ +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; + } |