Skip to content

Commit 6d3381c

Browse files
authored
Merge pull request github#7718 from MathiasVP/move-return-stack-allocated-memory-into-code-scanning
C++: Add `security` tag to `cpp/return-stack-allocated-memory`
2 parents 3013180 + 7db6605 commit 6d3381c

File tree

2 files changed

+5
-0
lines changed

2 files changed

+5
-0
lines changed

cpp/ql/src/Likely Bugs/Memory Management/ReturnStackAllocatedMemory.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @problem.severity warning
99
* @precision high
1010
* @tags reliability
11+
* security
1112
* external/cwe/cwe-825
1213
*/
1314

Lines changed: 4 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,4 @@
1+
---
2+
category: newQuery
3+
---
4+
* The `security` tag has been added to the `cpp/return-stack-allocated-memory` query. As a result, its results will now appear by default.

0 commit comments

Comments
 (0)