CWE-562
Return of Stack Variable Address
A function returns the address of a stack variable, which will cause unintended program behavior, typically in the form of a crash.
Mitigation
Phase: Implementation
Description:
- Fix the code so that it does not return a stack address.
No CAPEC attack patterns related to this CWE.