Closed marcstern closed 1 week ago
The use of assertions will terminate the process, right? Is that what you want?
You can control the behavior with a macro. See the identical solution in case of libmodsecurity3. Here @gberkes introduced a new CFLAG
, which can be controlled with a configure option. It's disabled by default, so the process won't terminate - but we can use that in our test environment.
The use of assertions will terminate the process, right? Is that what you want?
Yes, as it's an impossible path, unless the implementation is bogus
Failed conditions
22.0% Duplication on New Code (required ≤ 3%)
B Maintainability Rating on New Code (required ≥ A)
See analysis details on SonarCloud
Catch issues before they fail your Quality Gate with our IDE extension SonarLint
Looks good to me. I think the SonarCloud reports are false positives, all mentioned duplicate code had added years ago. Merging now - thanks, Marc.
Added a design doc explaining the approach