Package: hobbit-plugins
Version: 20230301
Severity: normal
Tags: patch
There's a problem with /usr/lib/xymon/client/ext/kern from the
"hobbit-plugins". The test is using grep -E and Debian 13 ships kernel
versions with "+" in them (f.e. '6.12.90+deb13.1-amd64'). This breaks the
regex, but quotemeta() first would fix it.
55a56
my $kernel_image_release_escaped = quotemeta($kernel_image_release);
57c58
< " | grep -E '^$kernel_image_release|^Linux version '";
---
" | grep -E '^$kernel_image_release_escaped|^Linux version '";