public inbox for binutils@sourceware.org
 help / color / mirror / Atom feed
From: Andreas Schwab <schwab@suse.de>
To: "H. J. Lu" <hjl@lucon.org>
Cc: Jan Beulich <jbeulich@novell.com>,
		Nick Clifton <nickc@redhat.com>,
	binutils@sources.redhat.com
Subject: Re: PATCH: Fix buffer overflow in gas
Date: Tue, 02 May 2006 16:53:00 -0000	[thread overview]
Message-ID: <je4q08s703.fsf@sykes.suse.de> (raw)
In-Reply-To: <20060502145800.GA10963@lucon.org> (H. J. Lu's message of "Tue, 2 	May 2006 07:58:00 -0700")

"H. J. Lu" <hjl@lucon.org> writes:

> I don't want to get too complicated here. We won't have buffer overflow
> anymore no matter what CHAR_BIT is.

If you have more than 8 bits in a char you need more than two characters
to represent it as a hex number.  On the other hand, whether we get to
process more than an octet at a time in this case remains to be seen.

Andreas.

-- 
Andreas Schwab, SuSE Labs, schwab@suse.de
SuSE Linux Products GmbH, Maxfeldstraße 5, 90409 Nürnberg, Germany
PGP key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."

      reply	other threads:[~2006-05-02 16:53 UTC|newest]

Thread overview: 7+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2006-05-01 18:40 H. J. Lu
2006-05-02  9:48 ` Nick Clifton
2006-05-02 13:31   ` H. J. Lu
2006-05-02 14:20     ` H. J. Lu
2006-05-02 14:35       ` Jan Beulich
2006-05-02 14:58         ` H. J. Lu
2006-05-02 16:53           ` Andreas Schwab [this message]

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=je4q08s703.fsf@sykes.suse.de \
    --to=schwab@suse.de \
    --cc=binutils@sources.redhat.com \
    --cc=hjl@lucon.org \
    --cc=jbeulich@novell.com \
    --cc=nickc@redhat.com \
    /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).