From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: (qmail 26920 invoked by alias); 14 Mar 2002 10:15:19 -0000 Mailing-List: contact libc-hacker-help@sources.redhat.com; run by ezmlm Precedence: bulk List-Subscribe: List-Archive: List-Post: List-Help: , Sender: libc-hacker-owner@sources.redhat.com Received: (qmail 26872 invoked from network); 14 Mar 2002 10:15:13 -0000 Received: from unknown (HELO Cantor.suse.de) (213.95.15.193) by sources.redhat.com with SMTP; 14 Mar 2002 10:15:13 -0000 Received: from Hermes.suse.de (Hermes.suse.de [213.95.15.136]) by Cantor.suse.de (Postfix) with ESMTP id DE69D1E3F6; Thu, 14 Mar 2002 11:15:11 +0100 (MET) X-Authentication-Warning: sykes.suse.de: schwab set sender to schwab@suse.de using -f To: Ulrich Drepper Cc: libc-hacker@sources.redhat.com Subject: Re: vfprintf with positional arg and 'h' flag References: <1016061674.16743.1086.camel@myware.mynet> X-Yow: On the road, ZIPPY is a pinhead without a purpose, but never without a POINT. From: Andreas Schwab Date: Thu, 14 Mar 2002 02:15:00 -0000 In-Reply-To: <1016061674.16743.1086.camel@myware.mynet> (Ulrich Drepper's message of "13 Mar 2002 15:21:14 -0800") Message-ID: User-Agent: Gnus/5.090005 (Oort Gnus v0.05) Emacs/21.2.50 (ia64-suse-linux) MIME-Version: 1.0 Content-Type: text/plain; charset=iso-8859-1 Content-Transfer-Encoding: 8bit X-SW-Source: 2002-03/txt/msg00049.txt.bz2 Ulrich Drepper writes: |> On Wed, 2002-03-13 at 04:36, Andreas Schwab wrote: |> > This fixes the use of the 'h' flag together with positional arguments, |> > giving wrong output on big-endian, and reading uninitialized memory on |> > little-endian. |> |> Thanks, I've applied the patch. But reading uninitialized memory is no |> bug. Using it would be. It had used it. You were able to get useless numbers even on little-endian. Andreas. -- Andreas Schwab, SuSE Labs, schwab@suse.de SuSE GmbH, Deutschherrnstr. 15-19, D-90429 Nürnberg Key fingerprint = 58CA 54C7 6D53 942B 1756 01D3 44D5 214B 8276 4ED5 "And now for something completely different."