Last update: February 19, 2023 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.