State variable is not properly initialized before it is used in a contract, thus prone to malfunction as state variables are automatically initialized with default values
With state variables not initialized explicitly and is accessed before being assigned a value, contract state is exposed to unexpected behavior and vulnerabilities.
Reference: https://github.com/crytic/slither/wiki/Detector-Documentation#uninitialized-state-variables
This flaw is prone to incorrect calculations, unexpected conditions, and exposes contract where uninitialized variables can manipulated.
Slither
Resort to explicitly initialize all state variables in contracts, either by assigning an initial value directly or by initializing them in the constructor function. By ensuring proper initialization, you can get rid of this flaw.
The contest is live. Earn rewards by submitting a finding.
This is your time to appeal against judgements on your submissions.
Appeals are being carefully reviewed by our judges.