Werk #12631 · Mar 29, 21
logwatch: fix "invalid regular expression" crash
Incompatible change. Existing setups may behave differently after upgrading. Review the details below before updating.
The logwatch check crashed when the option to reclassify error messages was used in combination with regular expressions that contain a special character escaped with a back slash. The error looks similar to this: "Exception: MKGeneralException (Invalid regular expression 'some.random.file.exe) has opened key': unbalanced parenthesis at position 28)". This has been fixed. Please be aware that you may need to review your regular expression patterns, especially in the case of Windows file paths. Toggle inline help for more information.
Details
- Class:
- Bug Fixes
- Level:
- Trivial
- Component:
- Checks
- Versions:
- 2.1.0b1CommunityProUltimate + MT
- 2.0.0p4CommunityProUltimate + MT