Skip to content

Commit 9ba49ad

Browse files
authored
Update ArgumentIsSizeofOrOperation.ql
1 parent ad32991 commit 9ba49ad

File tree

1 file changed

+3
-0
lines changed

1 file changed

+3
-0
lines changed

cpp/ql/src/Microsoft/Likely Bugs/SizeOfMisuse/ArgumentIsSizeofOrOperation.ql

Lines changed: 3 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -2,6 +2,9 @@
22
* @id cpp/microsoft/public/sizeof/sizeof-or-operation-as-argument
33
* @name Usage of an expression that is a binary operation, or sizeof call passed as an argument to a sizeof call
44
* @description When the `expr` passed to `sizeof` is a binary operation, or a sizeof call, this is typically a sign that there is a confusion on the usage of sizeof.
5+
* @kind problem
6+
* @problem.severity error
7+
* @precision high
58
* @tags security
69
*/
710

0 commit comments

Comments
 (0)