Merge pull request #16959 from MathiasVP/promote-iterator-to-expired-container-to-code-scanning

C++: Promote `cp/iterator-to-expired-container` to Code Scanning
This commit is contained in:
Mathias Vorreiter Pedersen
2024-07-15 11:55:32 +01:00
committed by GitHub
2 changed files with 5 additions and 1 deletions

View File

@@ -2,7 +2,7 @@
* @name Iterator to expired container
* @description Using an iterator owned by a container whose lifetime has expired may lead to unexpected behavior.
* @kind problem
* @precision medium
* @precision high
* @id cpp/iterator-to-expired-container
* @problem.severity warning
* @security-severity 8.8

View File

@@ -0,0 +1,4 @@
---
category: queryMetadata
---
* 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.