Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 19 Aug 2025 03:19:52 +0000
From:      bugzilla-noreply@freebsd.org
To:        numerics@FreeBSD.org
Subject:   [Bug 288778] [libm] Fix undefined behavior of a left shifted of a signed integer
Message-ID:  <bug-288778-18636-jccyotVxdG@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-288778-18636@https.bugs.freebsd.org/bugzilla/>
References:  <bug-288778-18636@https.bugs.freebsd.org/bugzilla/>

next in thread | previous in thread | raw e-mail | index | archive | help

https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=288778

--- Comment #8 from commit-hook@FreeBSD.org ---
A commit in branch stable/14 references this bug:

URL:
https://cgit.FreeBSD.org/src/commit/?id=7c4565e3e75e110b167f04efbe9d9d6355fcf2de

commit 7c4565e3e75e110b167f04efbe9d9d6355fcf2de
Author:     Steve Kargl <kargl@FreeBSD.org>
AuthorDate: 2025-08-12 04:26:29 +0000
Commit:     Konstantin Belousov <kib@FreeBSD.org>
CommitDate: 2025-08-18 19:23:29 +0000

    [libm] Fix undefined behavior of a left shifted of a signed integer

    PR:     288778

    (cherry picked from commit d180086e6eae2e152e803ed6cf13775a7c006dc7)

 lib/msun/src/e_fmod.c       | 30 ++++++++++++------------------
 lib/msun/src/math_private.h | 21 +++++++++++++++++++++
 lib/msun/src/s_ilogb.c      | 13 +++++--------
 lib/msun/src/s_remquo.c     | 30 ++++++++++++------------------
 4 files changed, 50 insertions(+), 44 deletions(-)

-- 
You are receiving this mail because:
You are the assignee for the bug.


Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?bug-288778-18636-jccyotVxdG>