freebsd-dev/cddl/contrib/opensolaris
Mark Johnston ce4da6fccc Fix an off-by-two in the llquantize() action parameter validation.
The aggregation created by llquantize() partitions values into buckets; the
lower bound of the bucket containing the largest values is b^{m+1}, where
b and m are the second and fourth parameters to the action, respectively.
Bucket bounds are stored in a 64-bit integer, and so the llquantize()
validation checks need to verify that b^{m+1} fits in 64 bits. However, it
was only verifying that b^{m-1} fits in 64 bits, so certain parameter
combinations could trigger assertion failures in libdtrace.

PR:		219451
MFC after:	1 week
2017-08-21 21:56:02 +00:00
..
cmd MFV r322223: 8378 crash due to bp in-memory modification of nopwrite block 2017-08-08 10:46:51 +00:00
common Recursively enumerate anonymous structs and unions in ctf_member_info(). 2016-08-30 05:50:42 +00:00
head MFV r270197: 2014-08-22 22:13:36 +00:00
lib Fix an off-by-two in the llquantize() action parameter validation. 2017-08-21 21:56:02 +00:00
tools/ctf Revert r253678, r253661: 2016-12-03 17:44:43 +00:00
OPENSOLARIS.LICENSE