Skip to content

Latest commit

 

History

History
14 lines (10 loc) · 1.09 KB

uninitialized-storage-pointer.md

File metadata and controls

14 lines (10 loc) · 1.09 KB

Uninitialized Storage Pointer

Note

As of solidity 0.5.0, uninitialized storage pointers are no longer an issue since contracts with uninitialized storage pointers will no longer compile. This being said, it's still important to understand what storage pointers you should be using in certain situations.

Data is stored in the EVM as either storage, memory, or calldata. It is important that they are well understood and correctly initialized. Incorrectly initializing data storage pointers, or simply leaving them uninitialized, can lead to contract vulnerabilities.

Sources