Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.

...

Attempting to access an object outside of its lifetime can result in undefined behavior and lead to an exploitable vulnerability. (See also undefined behavior 9 in Appendix J of the C Standard.)

...

CERT C++ Secure Coding StandardDCL30-CPP. Declare objects with appropriate storage durations
ISO/IEC TR 24772:2013Dangling References to Stack Frames [DCM]
ISO/IEC TS 17961 (Draft)Escaping of the address of an automatic object [addrescape]

...