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