diff --git a/cpp/config/suites/security/cwe-120 b/cpp/config/suites/security/cwe-120 index d333d14e9c6..f2101a4d8a7 100644 --- a/cpp/config/suites/security/cwe-120 +++ b/cpp/config/suites/security/cwe-120 @@ -6,7 +6,7 @@ + semmlecode-cpp-queries/Security/CWE/CWE-120/OverrunWrite.ql: /CWE/CWE-120 @name Potentially overrunning write (CWE-120) + semmlecode-cpp-queries/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql: /CWE/CWE-120 - @name Likely overrunning write based on non-trivial analysis of value ranges + @name Likely overrunning write + semmlecode-cpp-queries/Security/CWE/CWE-120/OverrunWriteFloat.ql: /CWE/CWE-120 @name Potentially overrunning write with float to string conversion (CWE-120) + semmlecode-cpp-queries/Best Practices/Likely Errors/OffsetUseBeforeRangeCheck.ql: /CWE/CWE-120 diff --git a/cpp/ql/src/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql b/cpp/ql/src/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql index a67e1a58fbb..352314f7f13 100644 --- a/cpp/ql/src/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql +++ b/cpp/ql/src/Security/CWE/CWE-120/VeryLikelyOverrunWrite.ql @@ -1,5 +1,5 @@ /** - * @name Likely overrunning write based on non-trivial analysis of value ranges + * @name Likely overrunning write * @description Buffer write operations that do not control the length * of data written may overflow * @kind problem