HomeSource World

les/utils: protect against WeightedRandomSelect overflow (#21839)

Description

les/utils: protect against WeightedRandomSelect overflow (#21839)

Also fixes a bug in les/flowcontrol that caused the overflow.

Details

Provenance
Felföldi Zsolt <zsfelfoldi@gmail.com>Authored on Nov 23 2020, 9:18 AM
GitHub <noreply@github.com>Committed on Nov 23 2020, 9:18 AM
Parents
rGETH3ef52775c475: p2p: avoid spinning loop on out-of-handles (#21878)
Branches
Unknown
Tags
Unknown

Event Timeline

GitHub <noreply@github.com> committed rGETHbddf5aaa2f73: les/utils: protect against WeightedRandomSelect overflow (#21839) (authored by Felföldi Zsolt <zsfelfoldi@gmail.com>).Nov 23 2020, 9:18 AM