code-423n4 / 2023-01-numoen-findings

0 stars 0 forks source link

Mint to without check for zero address #227

Closed code423n4 closed 1 year ago

code423n4 commented 1 year ago

Lines of code

https://github.com/code-423n4/2023-01-numoen/blob/main/src/core/Lendgine.sol#L93

Vulnerability details

Impact

Mint to without check for zero address. This can lead to lost of token

Proof of Concept

https://github.com/code-423n4/2023-01-numoen/blob/main/src/core/Lendgine.sol#L93

Tools Used

Recommended Mitigation Steps

add check to be sure that address to is not empty

c4-judge commented 1 year ago

berndartmueller marked the issue as unsatisfactory: Overinflated severity