Bug 14866 - ARM fesetenv (FE_NOMASK_ENV) does not test for success
Summary: ARM fesetenv (FE_NOMASK_ENV) does not test for success
Status: RESOLVED FIXED
Alias: None
Product: glibc
Classification: Unclassified
Component: ports (show other bugs)
Version: 2.16
: P2 normal
Target Milestone: ---
Assignee: Not yet assigned to anyone
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2012-11-21 20:21 UTC by Joseph Myers
Modified: 2014-06-14 11:04 UTC (History)
2 users (show)

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 2012-11-21 20:21:50 UTC
On ARM, fesetenv (FE_NOMASK_ENV) returns success if VFP is present, even if it's a VFP version not supporting trapping exceptions.  Testing a patch.
Comment 1 Joseph Myers 2012-11-21 20:29:03 UTC
Fixed for 2.17 by:

commit ad35f2dd750ed3e3f483409ef50b38ea19745002
Author: Joseph Myers <joseph@codesourcery.com>
Date:   Wed Nov 21 20:26:56 2012 +0000

    Make ARM fesetenv (FE_NOMASK_ENV) detect failure (bug 14866).