 
                            ...
Referencing an object outside of its lifetime can result in an attacker being able to run arbitrary code.
| Rule | Severity | Likelihood | Remediation Cost | Priority | Level | 
|---|---|---|---|---|---|
| EXP61-CPP | High | Probable | High | P6 | L2 | 
Automated Detection
| Tool | Version | Checker | Description | 
|---|
| Parasoft C/C++test | 
 | CERT_CPP-EXP61-a | Never return lambdas that capture local objects by reference | 
Related Vulnerabilities
Search for vulnerabilities resulting from the violation of this rule on the CERT website.
Related Guidelines
Bibliography
...