Latest AV code

Trever L. Adams trever at middleearth.sapphiresunday.org
Wed Dec 27 06:01:59 UTC 2017


On 12/26/2017 01:41 PM, Jim Brown via samba-technical wrote:
> Trever
>
> ret variable is not a boolean.
> The check 'if (ret)' should be 'if (ret != 0)'.
> The check 'if (!ret)' should be 'if (ret == 0)'.
>
> ok variable is a boolean.
> You should use 'if (!ok)' for a false test - and not either (ok ==
> false) or (ok != true).
>
> Jim
Jim, thank you. I have taken care of these. However, in testing, I am
finding that the streams scanning code no longer works as expected.

  virusfilter_vfs_close: Not scanned: only file backed streams can be
scanned: /home/DATA/trever/eicartestingstream.txt(1/0)

In the past, the file name showed what vfs_streams_depot was doing:
/home/DATA/.streams/0F/17/02FD000000000000EF005C0400000000:attached.txt:$DATA

This changed in a 4.6 or a 4.7 release. I do not know which.

Does anyone know how I can get that information again so that I can get
things working?

Thank you.
Trever

-------------- next part --------------
A non-text attachment was scrubbed...
Name: signature.asc
Type: application/pgp-signature
Size: 886 bytes
Desc: OpenPGP digital signature
URL: <http://lists.samba.org/pipermail/samba-technical/attachments/20171226/2c3a5da7/signature.sig>


More information about the samba-technical mailing list