mirror of
https://github.com/github/codeql.git
synced 2026-04-20 22:44:52 +02:00
Update cpp/ql/src/Security/CWE/CWE-416/UseOfUniquePointerAfterLifetimeEnds.ql
Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
committed by
GitHub
parent
8e92fcc08f
commit
57e0804cef
@@ -1,6 +1,6 @@
|
||||
/**
|
||||
* @name Use of unique pointer after lifetime ends
|
||||
* @description If a reference to the contents of a unique pointer outlives the underlying object it may lead to unexpected behavior.
|
||||
* @description Referencing the contents of a unique pointer after the underlying object has expired may lead to unexpected behavior.
|
||||
* @kind problem
|
||||
* @precision high
|
||||
* @id cpp/use-of-unique-pointer-after-lifetime-ends
|
||||
|
||||
Reference in New Issue
Block a user