Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/08/04 12:0 a.m.13 views

There is no decrease for the share allowance from _addCollateral when share passed zero

Lines of code Vulnerability details Impact When calling addCollateral, and if the share passed as zero, it is calculated based on the passed amount. However, this happens after allowanceBorrow was already called in addCollateral. So, deduction never occur for the share. Eventually, the borrow...

6.9AI score
SaveExploits0
Rows per page
Query Builder