mirror of
https://github.com/github/codeql.git
synced 2026-04-28 18:25:24 +02:00
Merge pull request #1400 from jbj/suspicious-pointer-scaling_medium
C++: Suspicious pointer scaling: @precision medium
This commit is contained in:
@@ -11,6 +11,7 @@
|
||||
|
||||
| **Query** | **Expected impact** | **Change** |
|
||||
|----------------------------|------------------------|------------------------------------------------------------------|
|
||||
| Suspicious pointer scaling (`cpp/suspicious-pointer-scaling`) | Lower precision | The precision of this query has been reduced to "medium". This coding pattern is used intentionally and safely in a number of real-world projects. Results are no longer displayed on LGTM unless you choose to display them. |
|
||||
|
||||
## Changes to QL libraries
|
||||
|
||||
|
||||
@@ -4,7 +4,7 @@
|
||||
* can cause buffer overflow conditions.
|
||||
* @kind problem
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @precision medium
|
||||
* @id cpp/suspicious-pointer-scaling
|
||||
* @tags security
|
||||
* external/cwe/cwe-468
|
||||
|
||||
Reference in New Issue
Block a user