spamassassin: Fix "Insecure dependency" error from ClamAV plugin.
This commit is contained in:
parent
89e1dad9d8
commit
7c03ae1f0e
1 changed files with 1 additions and 1 deletions
|
@ -78,7 +78,7 @@ sub check_clamav {
|
|||
|
||||
my $socket = IO::Socket::UNIX->new(
|
||||
Type => SOCK_STREAM,
|
||||
Peer => $self->{main}->{conf}->{clamav_socket}
|
||||
Peer => Mail::SpamAssassin::Util::untaint_file_path($permsg->{conf}->{clamav_socket})
|
||||
) or do {
|
||||
$permsg->set_tag("CLAMAV", "Error");
|
||||
info("ClamAV: Failed to connect socket, skipping virus check");
|
||||
|
|
Loading…
Add table
Reference in a new issue