C++: fill in more query metadata

This commit is contained in:
Robert Marsh
2022-09-30 15:07:08 -04:00
parent 8972176242
commit 159f11cd28

View File

@@ -1,6 +1,12 @@
/**
* @id cpp/constant-size-array-off-by-one
* @name Constant array overflow
* @description Dereferencing a pointer that points past a statically-sized array is undefined behavior
* and may lead to security vulnerabilities
* @kind path-problem
* @problem.severity error
* @id cpp/constant-array-overflow
* @tags reliability
* security
*/
import experimental.semmle.code.cpp.semantic.analysis.RangeAnalysis