[Samba] v4.17.4 (from source): vfs_virusfilter with clamav dumps core on file access

Jeremy Allison jra at samba.org
Thu Jan 12 00:04:57 UTC 2023


On Wed, Jan 11, 2023 at 11:59:22PM +0000, Assmann Phillip via samba wrote:
>Hi Jeremy,
>
>
>your patch works flawlessly! Access is possible, scanning also works now:
>
>
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88287]:   Initialising custom vfs hooks from [virusfilter]
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88287]:   load_module_absolute_path: Module '/usr/local/samba/lib/vfs/virusfilter.so' loaded
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88286]: [2023/01/12 00:56:24.456725,  0] ../../source3/modules/vfs_virusfilter.c:1172(virusfilter_scan)
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88286]:   virusfilter_scan: Scan result: Infected: /zfs/tank/share/Wiki/eicar: Eicar-Signature
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88286]: [2023/01/12 00:56:24.457847,  1] ../../source3/modules/vfs_virusfilter.c:964(virusfilter_treat_infected_file)
>Jan 12 00:56:24 fileserver.ig.initiativgruppe.de smbd[88286]:   virusfilter_treat_infected_file: Infected file action: /zfs/tank/share/Wiki/eicar: delete
>
>
>Thanks for your help, let me know if I can do anything to get this fixed in master.

Can you log a bug for me at bugzilla.samba.org with the backtrace uploaded please ?

I'm working on an MR for gitlab right now.

Thanks,

Jeremy.



More information about the samba mailing list