Files
scylladb/test/boost
Avi Kivity 882ed2017a test: network_topology_strategy_test: fix overflow in d2t()
d2t() scales a fraction in the range [0, 1] to the range of
a biased token (same as unsigned long). But x86 doesn't support
conversion to unsigned, only signed, so this is a truncating
conversion. Clang's ubsan correctly warns about it.

Fix by reducing the range before converting, and expanding it
afterwards.

Closes #7376
2020-10-11 16:05:02 +03:00
..
2020-09-08 15:59:25 +03:00
2020-10-01 14:30:59 +03:00
2020-08-11 10:37:34 +08:00
2020-10-02 14:03:01 +02:00