iotaledger/entangled

utils: system_cpu_available inconsistent return type

semenov-vladyslav opened this issue · 1 comments

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.

Fixed in PR #1462.