run_av error: Insecure dependency in sprintf
Mark Martinec via amavis-users
amavis-users at amavis.org
Fri Sep 27 20:01:43 CEST 2013
Maciej,
> Sep 27 12:33:36 host amavis[5129]: (05129-01-2) (!)Sophos SAVI
> av-scanner FAILED: run_av error: Insecure dependency in sprintf while
> running with -T switch at /usr/local/amavis/amavisd line 3204.\n
>
> while running amavisd-new-2.8.1 (20130628) on Centos 6.4 with perl
> 5.10.1-131.
>
> How to fix it if you please?
Please try the attached patch.
Mark
-------------- next part --------------
--- amavisd~ 2013-06-28 21:04:02.000000000 +0200
+++ amavisd 2013-09-27 19:52:25.031060371 +0200
@@ -24990,5 +24990,5 @@
if (ref($part) && ($part->type_short eq 'MAIL' ||
lc($part->type_declared) eq 'message/rfc822')) {
- do_log(2, "%s: $query - enabling option Mime", $av_name);
+ do_log(2, "%s: %s - enabling option Mime", $av_name, $query);
$mime_option_value = 1;
}
More information about the amavis-users
mailing list