GNU bug report logs - #9612
sort: avoid a NaN-induced infloop

Previous Next

Package: coreutils;

Reported by: Jim Meyering <jim <at> meyering.net>

Date: Tue, 27 Sep 2011 14:50:02 UTC

Severity: normal

Done: Jim Meyering <jim <at> meyering.net>

Bug is archived. No further changes may be made.

Full log


View this message in rfc822 format

From: Andreas Schwab <schwab <at> linux-m68k.org>
To: Jim Meyering <jim <at> meyering.net>
Cc: 9612 <at> debbugs.gnu.org
Subject: bug#9612: sort: avoid a NaN-induced infloop
Date: Tue, 27 Sep 2011 19:13:20 +0200
Jim Meyering <jim <at> meyering.net> writes:

> The statement "long double x = NAN;" (inside glibc's strtold) leaves many
> bits of "x" uninitialized.

You are looking at padding bits, which have unspecified contents.

Andreas.

-- 
Andreas Schwab, schwab <at> linux-m68k.org
GPG Key fingerprint = 58CA 54C7 6D53 942B 1756  01D3 44D5 214B 8276 4ED5
"And now for something completely different."




This bug report was last modified 13 years and 229 days ago.

Previous Next


GNU bug tracking system
Copyright (C) 1999 Darren O. Benham, 1997,2003 nCipher Corporation Ltd, 1994-97 Ian Jackson.