Update cpp/ql/src/Security/CWE/CWE-416/UseOfUniquePointerAfterLifetimeEnds.ql

Co-authored-by: Felicity Chapman <felicitymay@github.com>
This commit is contained in:
Mathias Vorreiter Pedersen
2023-12-20 10:52:42 +01:00
committed by GitHub
parent 8e92fcc08f
commit 57e0804cef

View File

@@ -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