Uninitialized local storage variables can point to unexpected storage locations in the contract, which can lead to vulnerabilities. Solc 0.5.0
and above disallow such pointers. (see here)
- Uninitialized Storage Pointers
- Local Storage Variables Uninitialized
- Pointers -> Unexpected Storage Locations
- Error-prone
solc >= 0.5.0
Disallowed