Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 08 Feb 2022 17:50:38 +0000
From:      bugzilla-noreply@freebsd.org
To:        bugs@FreeBSD.org
Subject:   [Bug 261781] vdso: Time calculation integer overflow
Message-ID:  <bug-261781-227-hlocRQu6tx@https.bugs.freebsd.org/bugzilla/>
In-Reply-To: <bug-261781-227@https.bugs.freebsd.org/bugzilla/>
References:  <bug-261781-227@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=3D261781

--- Comment #1 from Konstantin Belousov <kib@FreeBSD.org> ---
I do not understand what are you saying.

If scale * delta overflows, which we detect by calculating
ffsl(scale) + fls(delta), we do more complicated calculation that moves
overflow to bt->sec, and clamp scale to 32bit.

--=20
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-261781-227-hlocRQu6tx>