(plugin) os::windows::local - harden regexp source (again) (#3719)
This commit is contained in:
parent
4f3f15c0a3
commit
d1f6e16687
|
@ -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;
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Reference in New Issue