mirror of
https://github.com/github/codeql.git
synced 2026-05-02 04:05:14 +02:00
C++: Enable cpp/alloca-in-loop on LGTM
Now that the query has both tests and qhelp, we can use it on LGTM. This commit also adds a change note. I renamed the query to reduce confusion from the lower-case unquoted word "alloca".
This commit is contained in:
@@ -1,11 +1,13 @@
|
||||
/**
|
||||
* @name alloca in a loop
|
||||
* @name Call to alloca in a loop
|
||||
* @description Using alloca in a loop can lead to a stack overflow
|
||||
* @kind problem
|
||||
* @problem.severity warning
|
||||
* @precision high
|
||||
* @id cpp/alloca-in-loop
|
||||
* @tags reliability
|
||||
* correctness
|
||||
* security
|
||||
* external/cwe/cwe-770
|
||||
*/
|
||||
|
||||
|
||||
Reference in New Issue
Block a user