code-423n4 / 2021-04-maple-findings

0 stars 0 forks source link

Missing check in deposit Pool #81

Closed code423n4 closed 3 years ago

code423n4 commented 3 years ago

Handle

a_delamo

Vulnerability details

Impact

Low

Proof of Concept

Here you have a gist: https://gist.github.com/alexon1234/4d0a70e435c418f58129d8ec5964c30e

Recommended Mitigation Steps

Just adding a validation that amt > 0 will be fine

lucas-manuel commented 3 years ago

Not a bug, intended since it saves gas