Skip to content

Commit 9dc3b93

Browse files
authored
Merge pull request #916 from geoffw0/largeparam
CPP: Update severity/precision of LargeParameter.ql.
2 parents 5754eb6 + 8b2405b commit 9dc3b93

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cpp/ql/src/Critical/LargeParameter.ql

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -2,8 +2,8 @@
22
* @name Large object passed by value
33
* @description An object larger than 64 bytes is passed by value to a function. Passing large objects by value unnecessarily use up scarce stack space, increase the cost of calling a function and can be a security risk. Use a const pointer to the object instead.
44
* @kind problem
5-
* @problem.severity warning
6-
* @precision high
5+
* @problem.severity recommendation
6+
* @precision very-high
77
* @id cpp/large-parameter
88
* @tags efficiency
99
* readability

0 commit comments

Comments
 (0)