diff options
author | Mark Johnston <markj@FreeBSD.org> | 2017-08-21 21:56:02 +0000 |
---|---|---|
committer | Mark Johnston <markj@FreeBSD.org> | 2017-08-21 21:56:02 +0000 |
commit | ce4da6fccce6a1118efaba00c57b5a916295bf6b (patch) | |
tree | c3bae0ac50eb5a5923d841bc4c59aac0d1c0bff4 /cddl/contrib/opensolaris/cmd/dtrace | |
parent | 3c0e63a4c4fed78c8e1c3e895bcbdd2173f83928 (diff) | |
download | src-ce4da6fccce6a1118efaba00c57b5a916295bf6b.tar.gz src-ce4da6fccce6a1118efaba00c57b5a916295bf6b.zip |
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
Notes
Notes:
svn path=/head/; revision=322773
Diffstat (limited to 'cddl/contrib/opensolaris/cmd/dtrace')
0 files changed, 0 insertions, 0 deletions