In Solidity, constructor functions for smart contracts can be created with parameters, which are typically used to initialize some aspect of the contract's state. If the values passed to parameters in a constructor are not validated, it is possible that the contract might be deployed in an incorrect or undesirable state.
Further reading: Solidity Documentation: Constructors
Mammoth Laurel Nightingale
Low/Info
[L-06] No Parameter Validation in Constructor
Summary
Vulnerability Detail
In Solidity, constructor functions for smart contracts can be created with parameters, which are typically used to initialize some aspect of the contract's state. If the values passed to parameters in a constructor are not validated, it is possible that the contract might be deployed in an incorrect or undesirable state.
Further reading: Solidity Documentation: Constructors
Impact
Code Snippet
Tool used
Manual Review
Recommendation -
add require condition to check for zero address and other checks too