[Bug 219451] [dtrace] Certain llquantize() parameters trigger assertion

bugzilla-noreply at freebsd.org bugzilla-noreply at freebsd.org
Mon Aug 21 21:26:24 UTC 2017


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

--- Comment #3 from Mark Johnston <markj at FreeBSD.org> ---
Right, so there's an off-by-one in that check. However, fixing that isn't
sufficient: we also hit an overflow with a maximum power of 9. That's because
the upper bound ends up being base^{max+1}. For instance, with a 4-tuple (10,
0, 3, 10) we show buckets up to 10000, i.e., 10^4. So it's actually an
off-by-two.

-- 
You are receiving this mail because:
You are on the CC list for the bug.


More information about the freebsd-dtrace mailing list