Skip to content

Commit 3e6a198

Browse files
authored
Merge pull request github#3727 from jbj/tainted-format-string-high
C++: Raise cpp/tainted-format-string* precisions to high
2 parents 090a685 + e0ba23d commit 3e6a198

File tree

3 files changed

+4
-2
lines changed

3 files changed

+4
-2
lines changed

change-notes/1.25/analysis-cpp.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -13,6 +13,8 @@ The following changes in version 1.25 affect C/C++ analysis in all applications.
1313

1414
| **Query** | **Expected impact** | **Change** |
1515
|----------------------------|------------------------|------------------------------------------------------------------|
16+
| Uncontrolled format string (`cpp/tainted-format-string`) | | This query is now displayed by default on LGTM. |
17+
| Uncontrolled format string (through global variable) (`cpp/tainted-format-string-through-global`) | | This query is now displayed by default on LGTM. |
1618

1719
## Changes to libraries
1820

cpp/ql/src/Security/CWE/CWE-134/UncontrolledFormatString.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* or data representation problems.
66
* @kind path-problem
77
* @problem.severity warning
8-
* @precision medium
8+
* @precision high
99
* @id cpp/tainted-format-string
1010
* @tags reliability
1111
* security

cpp/ql/src/Security/CWE/CWE-134/UncontrolledFormatStringThroughGlobalVar.ql

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -5,7 +5,7 @@
55
* or data representation problems.
66
* @kind path-problem
77
* @problem.severity warning
8-
* @precision medium
8+
* @precision high
99
* @id cpp/tainted-format-string-through-global
1010
* @tags reliability
1111
* security

0 commit comments

Comments
 (0)