Skip to content

Commit 159f11c

Browse files
committed
C++: fill in more query metadata
1 parent 8972176 commit 159f11c

File tree

1 file changed

+7
-1
lines changed

1 file changed

+7
-1
lines changed

cpp/ql/src/experimental/Security/CWE/CWE-193/ConstantSizeArrayOffByOne.ql

Lines changed: 7 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1,6 +1,12 @@
11
/**
2-
* @id cpp/constant-size-array-off-by-one
2+
* @name Constant array overflow
3+
* @description Dereferencing a pointer that points past a statically-sized array is undefined behavior
4+
* and may lead to security vulnerabilities
35
* @kind path-problem
6+
* @problem.severity error
7+
* @id cpp/constant-array-overflow
8+
* @tags reliability
9+
* security
410
*/
511

612
import experimental.semmle.code.cpp.semantic.analysis.RangeAnalysis

0 commit comments

Comments
 (0)