[Bug analyzer/105888] RFE: -fanalyzer should complain when an on-stack address escapes/outlives the function

dmalcolm at gcc dot gnu.org gcc-bugzilla@gcc.gnu.org
Thu Jun 16 14:17:43 GMT 2022


https://gcc.gnu.org/bugzilla/show_bug.cgi?id=105888

--- Comment #1 from David Malcolm <dmalcolm at gcc dot gnu.org> ---
See also CWE-562: Return of Stack Variable Address
  https://cwe.mitre.org/data/definitions/562.html


More information about the Gcc-bugs mailing list