Skip to content

Commit 5c54c81

Browse files
Merge pull request #169 from microsoft/dilan/metadata-bug-cpp
Metadata Bug in C++ Query
2 parents ad32991 + 9ba49ad commit 5c54c81

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)