Skip to content

Commit 5da3fb5

Browse files
authored
Merge pull request #16959 from MathiasVP/promote-iterator-to-expired-container-to-code-scanning
C++: Promote `cp/iterator-to-expired-container` to Code Scanning
2 parents a951718 + 64513fb commit 5da3fb5

File tree

2 files changed

+5
-1
lines changed

2 files changed

+5
-1
lines changed

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

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -2,7 +2,7 @@
22
* @name Iterator to expired container
33
* @description Using an iterator owned by a container whose lifetime has expired may lead to unexpected behavior.
44
* @kind problem
5-
* @precision medium
5+
* @precision high
66
* @id cpp/iterator-to-expired-container
77
* @problem.severity warning
88
* @security-severity 8.8
Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: queryMetadata
3+
---
4+
* The precision of `cpp/iterator-to-expired-container` ("Iterator to expired container") has been increased to `high`. As a result, it will be run by default as part of the Code Scanning suite.

0 commit comments

Comments
 (0)