Skip to content

Commit 20c3984

Browse files
committed
C++: Add the 'security' tag and add a 'security-severity' rating to 'cpp/redundant-null-check-simple'.
1 parent 0e3369f commit 20c3984

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

cpp/ql/src/Likely Bugs/RedundantNullCheckSimple.ql

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -5,10 +5,12 @@
55
* it should be moved before the dereference.
66
* @kind path-problem
77
* @problem.severity error
8+
* @security-severity 7.5
89
* @precision high
910
* @id cpp/redundant-null-check-simple
1011
* @tags reliability
1112
* correctness
13+
* security
1214
* external/cwe/cwe-476
1315
*/
1416

0 commit comments

Comments
 (0)