[Bug 261781] vdso: Time calculation integer overflow

From: <bugzilla-noreply_at_freebsd.org>
Date: Tue, 08 Feb 2022 17:50:38 UTC
https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=261781

--- 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.

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