(plugin) os::windows::local - harden regexp source (again) (#3719)

This commit is contained in:
qgarnier 2022-06-07 15:06:40 +02:00 committed by GitHub
parent 4f3f15c0a3
commit d1f6e16687
1 changed files with 1 additions and 1 deletions

View File

@ -72,7 +72,7 @@ sub check_ntp_query {
command_options => undef,
no_quit => 1
);
if ($stdout =~ /^Source[\s\xA0]*:\s+(\S+)/mi) {
if ($stdout =~ /^Source.*?:\s+(\S+)/mi) {
return $1;
}
}