public inbox for gcc-bugs@sourceware.org
help / color / mirror / Atom feed
From: "rfm at gnu dot org" <gcc-bugzilla@gcc.gnu.org>
To: gcc-bugs@gcc.gnu.org
Subject: [Bug libobjc/38307] Calling of the +initialize method is not completely thread-safe
Date: Thu, 01 Jan 2009 15:04:00 -0000	[thread overview]
Message-ID: <20090101150250.27382.qmail@sourceware.org> (raw)
In-Reply-To: <bug-38307-3831@http.gcc.gnu.org/bugzilla/>



------- Comment #2 from rfm at gnu dot org  2009-01-01 15:02 -------
Created an attachment (id=17020)
 --> (http://gcc.gnu.org/bugzilla/attachment.cgi?id=17020&action=view)
Patch for sendmsg.c to fix this bug

I've been using this patch for a while ... it modifies sendmsg.c to prevent the
bug by not installing the new dispatch table until after the initialize method
has completed (while still allowing methods called from +initialize to be
found).


-- 


http://gcc.gnu.org/bugzilla/show_bug.cgi?id=38307


  parent reply	other threads:[~2009-01-01 15:04 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2008-11-28 16:14 [Bug libobjc/38307] New: " rfm at gnu dot org
2008-12-08  8:40 ` [Bug libobjc/38307] " rfm at gnu dot org
2009-01-01 15:04 ` rfm at gnu dot org [this message]
2009-04-10 12:43 ` ayers at gcc dot gnu dot org
2009-04-10 12:44 ` ayers at gcc dot gnu dot org
2009-04-16 19:08 ` pinskia at gcc dot gnu dot org
     [not found] <bug-38307-4@http.gcc.gnu.org/bugzilla/>
2011-03-16 12:47 ` rfm at gnu dot org
2011-03-16 13:34 ` ayers at fsfe dot org
2011-03-17  7:14 ` rfm at gnu dot org
2011-03-17  8:15 ` ayers at fsfe dot org
2011-03-17 20:30 ` rfm at gnu dot org
2011-04-03  4:41 ` rfm at gnu dot org
2011-05-25 18:59 ` nicola at gcc dot gnu.org

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=20090101150250.27382.qmail@sourceware.org \
    --to=gcc-bugzilla@gcc.gnu.org \
    --cc=gcc-bugs@gcc.gnu.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;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).