code-423n4 / 2021-06-gro-findings

0 stars 1 forks source link

setBigFishThreshold above 100% #80

Open code423n4 opened 3 years ago

code423n4 commented 3 years ago

Handle

pauliax

Vulnerability details

Impact

function setBigFishThreshold should require that _percent is not above PERCENTAGE_DECIMAL_FACTOR if it is not intended to have it over 100%.

Recommended Mitigation Steps

require _percent <= PERCENTAGE_DECIMAL_FACTOR