• YouTube Channel
  • System Status
  • VS Code Extension
  • Uninitialized Function Pointer in Constructor

    Overview

    What is the Uninitialized Function Pointer in Constructor vulnerability?

    Earlier versions of the Solidity compiler contained bugs related to the handling of uninitalized function pointers used in constructors, which could generate unexpected program behavior. These older versions of Solidity should be avoided by modern smart contract developers, and function pointers in general should be avoided where possible to avoid confusion of logic and unintended errors.

    Further reading: Solidity Documentation: Function Types