Skip to content

Commit 236a6a1

Browse files
alexetMathiasVP
andauthored
CPP: Apply suggestions from code review
Fix spelling in query id Co-authored-by: Mathias Vorreiter Pedersen <[email protected]>
1 parent 136a77b commit 236a6a1

File tree

2 files changed

+2
-2
lines changed

2 files changed

+2
-2
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -3,7 +3,7 @@
33
* @description If a reference to the contents of a unique pointer outlives the underlying object it may lead to unexpected behavior.
44
* @kind problem
55
* @precision high
6-
* @id cpp/use-of-uniwue-pointer-after-lifetime-ends
6+
* @id cpp/use-of-unique-pointer-after-lifetime-ends
77
* @problem.severity warning
88
* @security-severity 8.8
99
* @tags reliability
Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,4 +1,4 @@
11
---
22
category: newQuery
33
---
4-
* Added a new query, `cpp/use-of-uniwue-pointer-after-lifetime-ends`, to detect uses of the contents unique pointers that will be destroyed immediately.
4+
* Added a new query, `cpp/use-of-unique-pointer-after-lifetime-ends`, to detect uses of the contents unique pointers that will be destroyed immediately.

0 commit comments

Comments
 (0)