Fwd: Floating point exception in strtod()

Corinna Vinschen vinschen@redhat.com
Mon Apr 9 10:02:00 GMT 2018


On Apr  8 21:37, Hans-Bernhard Bröker wrote:
> Am 08.04.2018 um 20:40 schrieb Ken Brown:
> 
> > Presumably the authors of the code knew that aadj could be this big,
> > because there's a test for aadj <= 0x7fffffff in line 1123.
> 
> But the code never reaches that line, because the condition in line 1122
> doesn't hold.  From there it goes to lines 1131, 1132, 1182, 1187, 1189 and
> BOOM.

Sorry guys, but my reply to this is the copy of what I just sent to the
Cygwin list.  I worked on that with only Ken's mail to the cygwin ML as
background.  I didn't notice that Ken had sent this to the newlib list
as well until now.


Corinna

-- 
Corinna Vinschen
Cygwin Maintainer
Red Hat
-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 833 bytes
Desc: not available
URL: <http://sourceware.org/pipermail/newlib/attachments/20180409/1f3d593d/attachment.sig>


More information about the Newlib mailing list