mirror of
https://github.com/owasp-modsecurity/ModSecurity.git
synced 2025-08-14 05:45:59 +03:00
Replace final three suppressions entries with line numbers
- These were initially not included in these changes, as they were other PRs (#3104 & #3132) that address them.
This commit is contained in:
parent
95ce3a7db4
commit
9f5dc200ba
@ -310,7 +310,7 @@ class TransactionSecMarkerManagement {
|
||||
if (m_marker) {
|
||||
return m_marker;
|
||||
} else {
|
||||
throw;
|
||||
throw; // cppcheck-suppress rethrowNoCurrentException
|
||||
}
|
||||
}
|
||||
|
||||
|
@ -124,7 +124,7 @@ RuleWithActions::RuleWithActions(
|
||||
delete a;
|
||||
std::cout << "General failure, action: " << a->m_name;
|
||||
std::cout << " has an unknown type." << std::endl;
|
||||
throw;
|
||||
throw; // cppcheck-suppress rethrowNoCurrentException
|
||||
}
|
||||
}
|
||||
delete actions;
|
||||
|
@ -84,7 +84,7 @@ class SharedFiles {
|
||||
bool toBeCreated(false);
|
||||
bool err = false;
|
||||
|
||||
m_memKeyStructure = ftok(".", 1);
|
||||
m_memKeyStructure = ftok(".", 1); // cppcheck-suppress useInitializationList
|
||||
if (m_memKeyStructure < 0) {
|
||||
err = true;
|
||||
goto err_mem_key;
|
||||
|
@ -30,10 +30,6 @@ shiftNegative:src/utils/msc_tree.cc
|
||||
//
|
||||
// ModSecurity v3 code...
|
||||
//
|
||||
useInitializationList:src/utils/shared_files.h:87
|
||||
rethrowNoCurrentException:headers/modsecurity/transaction.h:313
|
||||
rethrowNoCurrentException:src/rule_with_actions.cc:127
|
||||
|
||||
variableScope:src/operators/rx.cc
|
||||
variableScope:src/operators/rx_global.cc
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user