Lucene search
+L

1 matches found

Code423n4
Code423n4
added 2023/01/27 12:0 a.m.8 views

Wrong logic in ConstantProduct.sol

Lines of code Vulnerability details Impact Wrong logic when comparing longAmount and shortAmount can lead to unexpected things Proof of Concept 108: if isAdd ? amount = shortAmount : amount = shortAmount longAmount = amount; When amount = shortAmount: If isAdd = amount = shortAmount = longAmount ...

6.9AI score
SaveExploits0
Rows per page
Query Builder