Skip to content
GitLab
Explore
Sign in
The Tor Project
Core
Tor
Repository
tor
src
test
test_util.c
Find file
Blame
History
Permalink
Restrict sample values of the Laplace distribution to int64_t.
· 45bc5a07
George Kadianakis
authored
Jan 15, 2015
This helps avoid undefined behavior from casting big double values to int64_t. Fixes
#14090
.
45bc5a07