mirror of
https://github.com/github/codeql.git
synced 2026-04-24 16:25:15 +02:00
Update cpp/ql/src/experimental/Security/CWE/CWE-416/UseAfterExpiredLifetime.qhelp
Co-authored-by: Geoffrey White <40627776+geoffw0@users.noreply.github.com>
This commit is contained in:
committed by
GitHub
parent
1232120d42
commit
81d20be1ee
@@ -13,7 +13,7 @@ If the object is accessed after its lifetime has ended, the program may crash or
|
||||
<recommendation>
|
||||
|
||||
<p>
|
||||
Ensure that no objct is accessed after its lifetime has ended.
|
||||
Ensure that no object is accessed after its lifetime has ended.
|
||||
Use RAII ("Resource Acquisition Is Initialization") to manage the lifetime of objects, and avoid manual memory management, if possible.
|
||||
</p>
|
||||
|
||||
|
||||
Reference in New Issue
Block a user