vfprintf with positional arg and 'h' flag

Andreas Schwab schwab@suse.de
Thu Mar 14 02:15:00 GMT 2002


Ulrich Drepper <drepper@redhat.com> 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."



More information about the Libc-hacker mailing list