From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 28907 invoked by alias); 2 May 2006 16:53:43 -0000 Received: (qmail 28897 invoked by uid 22791); 2 May 2006 16:53:42 -0000 X-Spam-Check-By: sourceware.org Received: from mx2.suse.de (HELO mx2.suse.de) (195.135.220.15) by sourceware.org (qpsmtpd/0.31) with ESMTP; Tue, 02 May 2006 16:53:40 +0000 Received: from Relay2.suse.de (mail2.suse.de [195.135.221.8]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (No client certificate requested) by mx2.suse.de (Postfix) with ESMTP id 85E751C81C; Tue, 2 May 2006 18:53:37 +0200 (CEST) From: Andreas Schwab To: "H. J. Lu" Cc: Jan Beulich , Nick Clifton , binutils@sources.redhat.com Subject: Re: PATCH: Fix buffer overflow in gas References: <20060501184006.GA2583@lucon.org> <44572AAF.4080203@redhat.com> <20060502133130.GB10201@lucon.org> <20060502142031.GA10660@lucon.org> <44578A83.76E4.0078.0@novell.com> <20060502145800.GA10963@lucon.org> X-Yow: Let's go to CHURCH! Date: Tue, 02 May 2006 16:53:00 -0000 In-Reply-To: <20060502145800.GA10963@lucon.org> (H. J. Lu's message of "Tue, 2 May 2006 07:58:00 -0700") Message-ID: User-Agent: Gnus/5.110006 (No Gnus v0.6) Emacs/22.0.50 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-IsSubscribed: yes Mailing-List: contact binutils-help@sourceware.org; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: binutils-owner@sourceware.org X-SW-Source: 2006-05/txt/msg00053.txt.bz2 "H. J. Lu" 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."