public inbox for glibc-bugs@sourceware.org
help / color / mirror / Atom feed
* [Bug math/16538] New: Missing underflow exception from sinl
@ 2014-02-07 7:35 zimmerma+gcc at loria dot fr
2014-02-08 7:11 ` [Bug math/16538] Missing underflow exception from sin/sinl zimmerma+gcc at loria dot fr
` (4 more replies)
0 siblings, 5 replies; 6+ messages in thread
From: zimmerma+gcc at loria dot fr @ 2014-02-07 7:35 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
Bug ID: 16538
Summary: Missing underflow exception from sinl
Product: glibc
Version: unspecified
Status: NEW
Severity: normal
Priority: P2
Component: math
Assignee: unassigned at sourceware dot org
Reporter: zimmerma+gcc at loria dot fr
on x86_64:
Testing function sin for exponent 0 [seed=8344].
rounding mode MPFR_RNDZ:
wrong underflow flag for x=8.0000000000000000@-4112
library gives 8.0000000000000000@-4112
mpfr gives 0
underflow: mpfr 1, library 0
Since the glibc result is the smallest subnormal 0x1p-16445, an underflow
exception should be raised.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug math/16538] Missing underflow exception from sin/sinl
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
@ 2014-02-08 7:11 ` zimmerma+gcc at loria dot fr
2014-06-13 8:41 ` fweimer at redhat dot com
` (3 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: zimmerma+gcc at loria dot fr @ 2014-02-08 7:11 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
Paul Zimmermann <zimmerma+gcc at loria dot fr> changed:
What |Removed |Added
----------------------------------------------------------------------------
Summary|Missing underflow exception |Missing underflow exception
|from sinl |from sin/sinl
--- Comment #1 from Paul Zimmermann <zimmerma+gcc at loria dot fr> ---
idem in double precision (on x86_64):
Testing function sin for exponent 0 [seed=17940].
rounding mode MPFR_RNDD:
wrong underflow flag for x=4.0000000000000@-269
library gives 4.0000000000000@-269
mpfr gives 0
underflow: mpfr 1, library 0
This is the smallest subnormal 0x1p-1074.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug math/16538] Missing underflow exception from sin/sinl
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
2014-02-08 7:11 ` [Bug math/16538] Missing underflow exception from sin/sinl zimmerma+gcc at loria dot fr
@ 2014-06-13 8:41 ` fweimer at redhat dot com
2015-06-23 22:25 ` cvs-commit at gcc dot gnu.org
` (2 subsequent siblings)
4 siblings, 0 replies; 6+ messages in thread
From: fweimer at redhat dot com @ 2014-06-13 8:41 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
Florian Weimer <fweimer at redhat dot com> changed:
What |Removed |Added
----------------------------------------------------------------------------
Flags| |security-
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug math/16538] Missing underflow exception from sin/sinl
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
2014-02-08 7:11 ` [Bug math/16538] Missing underflow exception from sin/sinl zimmerma+gcc at loria dot fr
2014-06-13 8:41 ` fweimer at redhat dot com
@ 2015-06-23 22:25 ` cvs-commit at gcc dot gnu.org
2015-06-23 22:26 ` jsm28 at gcc dot gnu.org
2015-06-23 22:32 ` vincent-srcware at vinc17 dot net
4 siblings, 0 replies; 6+ messages in thread
From: cvs-commit at gcc dot gnu.org @ 2015-06-23 22:25 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
--- Comment #2 from cvs-commit at gcc dot gnu.org <cvs-commit at gcc dot gnu.org> ---
This is an automated email from the git hooks/post-receive script. It was
generated because a ref change was pushed to the repository containing
the project "GNU C Library master sources".
The branch, master has been updated
via ad39cce0da0161dba69781c53349acf2e23f156c (commit)
from 8b1bab5ffa235bc494c33fdbe4c9994202936cfc (commit)
Those revisions listed above that are new to this repository have
not appeared on any other notification email; so we list those
revisions in full, below.
- Log -----------------------------------------------------------------
https://sourceware.org/git/gitweb.cgi?p=glibc.git;h=ad39cce0da0161dba69781c53349acf2e23f156c
commit ad39cce0da0161dba69781c53349acf2e23f156c
Author: Joseph Myers <joseph@codesourcery.com>
Date: Tue Jun 23 22:24:20 2015 +0000
Fix sin, sincos missing underflows (bug 16526, bug 16538).
Similar to various other bugs in this area, some sin and sincos
implementations do not raise the underflow exception for subnormal
arguments, when the result is tiny and inexact. This patch forces the
exception in a similar way to previous fixes.
Tested for x86_64, x86, mips64 and powerpc.
[BZ #16526]
[BZ #16538]
* sysdeps/ieee754/dbl-64/s_sin.c: Include <float.h>.
(__sin): Force underflow exception for arguments with small
absolute value.
* sysdeps/ieee754/flt-32/k_sinf.c: Include <float.h>.
(__kernel_sinf): Force underflow exception for arguments with
small absolute value.
* sysdeps/ieee754/ldbl-128/k_sincosl.c: Include <float.h>.
(__kernel_sincosl): Force underflow exception for arguments with
small absolute value.
* sysdeps/ieee754/ldbl-128/k_sinl.c: Include <float.h>.
(__kernel_sinl): Force underflow exception for arguments with
small absolute value.
* sysdeps/ieee754/ldbl-128ibm/k_sincosl.c: Include <float.h>.
(__kernel_sincosl): Force underflow exception for arguments with
small absolute value.
* sysdeps/ieee754/ldbl-128ibm/k_sinl.c: Include <float.h>.
(__kernel_sinl): Force underflow exception for arguments with
small absolute value.
* sysdeps/ieee754/ldbl-96/k_sinl.c: Include <float.h>.
(__kernel_sinl): Force underflow exception for arguments with
small absolute value.
* sysdeps/powerpc/fpu/k_sinf.c: Include <float.h>.
(__kernel_sinf): Force underflow exception for arguments with
small absolute value.
* math/auto-libm-test-in: Add more tests of sin and sincos.
* math/auto-libm-test-out: Regenerated.
-----------------------------------------------------------------------
Summary of changes:
ChangeLog | 29 ++
NEWS | 28 +-
math/auto-libm-test-in | 8 +
math/auto-libm-test-out | 632 +++++++++++++++++++++++++++++++
sysdeps/ieee754/dbl-64/s_sin.c | 10 +-
sysdeps/ieee754/flt-32/k_sinf.c | 11 +-
sysdeps/ieee754/ldbl-128/k_sincosl.c | 20 +-
sysdeps/ieee754/ldbl-128/k_sinl.c | 10 +-
sysdeps/ieee754/ldbl-128ibm/k_sincosl.c | 20 +-
sysdeps/ieee754/ldbl-128ibm/k_sinl.c | 10 +-
sysdeps/ieee754/ldbl-96/k_sinl.c | 10 +-
sysdeps/powerpc/fpu/k_sinf.c | 6 +-
12 files changed, 762 insertions(+), 32 deletions(-)
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug math/16538] Missing underflow exception from sin/sinl
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
` (2 preceding siblings ...)
2015-06-23 22:25 ` cvs-commit at gcc dot gnu.org
@ 2015-06-23 22:26 ` jsm28 at gcc dot gnu.org
2015-06-23 22:32 ` vincent-srcware at vinc17 dot net
4 siblings, 0 replies; 6+ messages in thread
From: jsm28 at gcc dot gnu.org @ 2015-06-23 22:26 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
Joseph Myers <jsm28 at gcc dot gnu.org> changed:
What |Removed |Added
----------------------------------------------------------------------------
Status|NEW |RESOLVED
Resolution|--- |FIXED
--- Comment #3 from Joseph Myers <jsm28 at gcc dot gnu.org> ---
Fixed for 2.22.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
* [Bug math/16538] Missing underflow exception from sin/sinl
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
` (3 preceding siblings ...)
2015-06-23 22:26 ` jsm28 at gcc dot gnu.org
@ 2015-06-23 22:32 ` vincent-srcware at vinc17 dot net
4 siblings, 0 replies; 6+ messages in thread
From: vincent-srcware at vinc17 dot net @ 2015-06-23 22:32 UTC (permalink / raw)
To: glibc-bugs
https://sourceware.org/bugzilla/show_bug.cgi?id=16538
Vincent Lefèvre <vincent-srcware at vinc17 dot net> changed:
What |Removed |Added
----------------------------------------------------------------------------
CC| |vincent-srcware at vinc17 dot net
--
You are receiving this mail because:
You are on the CC list for the bug.
>From glibc-bugs-return-28654-listarch-glibc-bugs=sources.redhat.com@sourceware.org Wed Jun 24 06:57:55 2015
Return-Path: <glibc-bugs-return-28654-listarch-glibc-bugs=sources.redhat.com@sourceware.org>
Delivered-To: listarch-glibc-bugs@sources.redhat.com
Received: (qmail 69244 invoked by alias); 24 Jun 2015 06:57:54 -0000
Mailing-List: contact glibc-bugs-help@sourceware.org; run by ezmlm
Precedence: bulk
List-Id: <glibc-bugs.sourceware.org>
List-Subscribe: <mailto:glibc-bugs-subscribe@sourceware.org>
List-Post: <mailto:glibc-bugs@sourceware.org>
List-Help: <mailto:glibc-bugs-help@sourceware.org>, <http://sourceware.org/lists.html#faqs>
Sender: glibc-bugs-owner@sourceware.org
Delivered-To: mailing list glibc-bugs@sourceware.org
Received: (qmail 68822 invoked by uid 48); 24 Jun 2015 06:57:50 -0000
From: "akshay.moghe at gmail dot com" <sourceware-bugzilla@sourceware.org>
To: glibc-bugs@sourceware.org
Subject: [Bug libc/18588] New: crypt "leaks" ENOENT
Date: Wed, 24 Jun 2015 06:57:00 -0000
X-Bugzilla-Reason: CC
X-Bugzilla-Type: new
X-Bugzilla-Watch-Reason: None
X-Bugzilla-Product: glibc
X-Bugzilla-Component: libc
X-Bugzilla-Version: 2.21
X-Bugzilla-Keywords:
X-Bugzilla-Severity: normal
X-Bugzilla-Who: akshay.moghe at gmail dot com
X-Bugzilla-Status: NEW
X-Bugzilla-Resolution:
X-Bugzilla-Priority: P2
X-Bugzilla-Assigned-To: unassigned at sourceware dot org
X-Bugzilla-Target-Milestone: ---
X-Bugzilla-Flags:
X-Bugzilla-Changed-Fields: bug_id short_desc product version bug_status bug_severity priority component assigned_to reporter cc target_milestone
Message-ID: <bug-18588-131@http.sourceware.org/bugzilla/>
Content-Type: text/plain; charset="UTF-8"
Content-Transfer-Encoding: 7bit
X-Bugzilla-URL: http://sourceware.org/bugzilla/
Auto-Submitted: auto-generated
MIME-Version: 1.0
X-SW-Source: 2015-06/txt/msg00265.txt.bz2
Content-length: 1085
https://sourceware.org/bugzilla/show_bug.cgi?id\x18588
Bug ID: 18588
Summary: crypt "leaks" ENOENT
Product: glibc
Version: 2.21
Status: NEW
Severity: normal
Priority: P2
Component: libc
Assignee: unassigned at sourceware dot org
Reporter: akshay.moghe at gmail dot com
CC: drepper.fsp at gmail dot com
Target Milestone: ---
Running:
--------
Linux 3.13.0-55-generic on Fedora release 22 (Twenty Two)
GNU C Library (GNU libc) stable release version 2.21
Compiled by GNU CC version 5.0.0 20150217 (Red Hat 5.0.0-0.15).
Issue
-----
On a successful call to crypt_r using a salt that employs the use of SHA512
("$6$saltedsalted6464$") even when the function returns a valid hash, the errno
is set to ENOENT. Presumably this is due to the fips check (failing because of
missing proc entry).
One can make a case for this errno to be cleared on successful execution of the
function.
--
You are receiving this mail because:
You are on the CC list for the bug.
^ permalink raw reply [flat|nested] 6+ messages in thread
end of thread, other threads:[~2015-06-23 22:32 UTC | newest]
Thread overview: 6+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2014-02-07 7:35 [Bug math/16538] New: Missing underflow exception from sinl zimmerma+gcc at loria dot fr
2014-02-08 7:11 ` [Bug math/16538] Missing underflow exception from sin/sinl zimmerma+gcc at loria dot fr
2014-06-13 8:41 ` fweimer at redhat dot com
2015-06-23 22:25 ` cvs-commit at gcc dot gnu.org
2015-06-23 22:26 ` jsm28 at gcc dot gnu.org
2015-06-23 22:32 ` vincent-srcware at vinc17 dot net
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).