public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Hans de Graaff (graaff)" <graaff@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [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
Date: Wed, 28 Nov 2007 20:02:27 +0000	[thread overview]
Message-ID: <E1IxT75-0004lD-6R@stork.gentoo.org> (raw)

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



                 reply	other threads:[~2007-11-28 20:02 UTC|newest]

Thread overview: [no followups] expand[flat|nested]  mbox.gz  Atom feed

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=E1IxT75-0004lD-6R@stork.gentoo.org \
    --to=graaff@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox