Skip to content

Commit 6bd1c77

Browse files
committed
Add exclusions due to newer cppcheck version
1 parent 5106307 commit 6bd1c77

File tree

1 file changed

+16
-0
lines changed

1 file changed

+16
-0
lines changed

test/cppcheck_suppressions.txt

+16
Original file line numberDiff line numberDiff line change
@@ -56,6 +56,19 @@ knownConditionTrueFalse:src/operators/validate_url_encoding.cc:77
5656
knownConditionTrueFalse:src/operators/verify_svnr.cc:87
5757
rethrowNoCurrentException:headers/modsecurity/transaction.h:307
5858
rethrowNoCurrentException:src/rule_with_actions.cc:123
59+
ctunullpointer:src/rule_with_actions.cc:237
60+
ctunullpointer:src/rule_with_operator.cc:135
61+
ctunullpointer:src/rule_with_operator.cc:95
62+
passedByValue:src/variables/global.h:109
63+
passedByValue:src/variables/global.h:110
64+
passedByValue:src/variables/tx.h:102
65+
passedByValue:src/operators/operator.cc:141
66+
passedByValue:src/parser/driver.cc:45
67+
passedByValue:src/transaction.cc:281
68+
passedByValue:src/utils/system.cc:154
69+
passedByValue:src/utils/system.cc:166
70+
passedByValue:test/common/modsecurity_test.cc:49
71+
passedByValue:test/common/modsecurity_test.cc:98
5972

6073
noExplicitConstructor:seclang-parser.hh
6174
constParameter:seclang-parser.hh
@@ -74,6 +87,9 @@ purgedConfiguration
7487

7588
constParameter
7689

90+
nullPointerRedundantCheck
91+
knownConditionTrueFalse
92+
7793

7894
// Examples
7995
memleak:examples/reading_logs_via_rule_message/reading_logs_via_rule_message.h:147

0 commit comments

Comments
 (0)