Skip to content

Commit 31819be

Browse files
author
Robert Marsh
committed
C++: add security tags to some format queries
1 parent bf39674 commit 31819be

File tree

4 files changed

+4
-0
lines changed

4 files changed

+4
-0
lines changed

cpp/ql/src/Likely Bugs/Format/SnprintfOverflow.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cpp/overflowing-snprintf
99
* @tags reliability
1010
* correctness
11+
* security
1112
*/
1213

1314
import cpp

cpp/ql/src/Likely Bugs/Format/TooManyFormatArguments.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,6 +9,7 @@
99
* @id cpp/too-many-format-arguments
1010
* @tags reliability
1111
* correctness
12+
* security
1213
*/
1314
import cpp
1415

cpp/ql/src/Likely Bugs/Format/WrongNumberOfFormatArguments.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cpp/wrong-number-format-arguments
99
* @tags reliability
1010
* correctness
11+
* security
1112
* external/cwe/cwe-685
1213
*/
1314
import cpp

cpp/ql/src/Likely Bugs/Format/WrongTypeFormatArguments.ql

Lines changed: 1 addition & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -8,6 +8,7 @@
88
* @id cpp/wrong-type-format-argument
99
* @tags reliability
1010
* correctness
11+
* security
1112
* external/cwe/cwe-686
1213
*/
1314

0 commit comments

Comments
 (0)