Bug 15285 - Bessel function spurious overflows for ldbl-128 / ldbl-128ibm
Summary: Bessel function spurious overflows for ldbl-128 / ldbl-128ibm
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: math (show other bugs)
Version: 2.17
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2013-03-17 20:23 UTC by Joseph Myers
Modified: 2014-06-13 18:41 UTC (History)
0 users

See Also:
Host:
Target:
Build:
Last reconfirmed:
fweimer: security-


Attachments

Note You need to log in before you can comment on or make changes to this bug.
Description Joseph Myers 2013-03-17 20:23:38 UTC
The ldbl-128 / ldbl-128ibm implementations of Bessel function do not check if the argument can be doubled before doing so, resulting in spurious overflows for arguments above LDBL_MAX / 2.0L.  This is reported for ldbl-128 at http://sourceware.org/ml/libc-alpha/2013-03/msg00434.html and the same applies for ldbl-128ibm (tested for y1l (0x1p1023L) on powerpc64).
Comment 1 Joseph Myers 2013-03-21 13:58:12 UTC
Fixed for 2.18 by:

commit 98c48fe5cc4317123a168490a8fb37540e23f104
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Thu Mar 21 13:57:21 2013 +0000

    Fix Bessel function spurious overflows for ldbl-128 / ldbl-128ibm (bug 15285).