You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
initialize function has a public modifier and does not contain any checks inside its body. This means anyone can call this function externally leading to token addresses override.
🐞 Bug Report
💻 Describe the bug
initialize
function has apublic
modifier and does not contain any checks inside its body. This means anyone can call this function externally leading to token addresses override.uniswap-v2-nil/contracts/UniswapV2Pair.sol
Lines 55 to 60 in 3ede108
Additionally, the Factory should call this function, which is not happening now.
The text was updated successfully, but these errors were encountered: