Closed semenov-vladyslav closed 4 years ago
system_cpu_available is declared as returning size_t but defined as returning int. This might result in UB, specifically the UB was triggered from iota_pow_flex in binary compiled for trinity on Windows.
system_cpu_available
size_t
int
iota_pow_flex
Fixed in PR #1462.
system_cpu_available
is declared as returningsize_t
but defined as returningint
. This might result in UB, specifically the UB was triggered fromiota_pow_flex
in binary compiled for trinity on Windows.