Re: libclamav and INSTREAM

"Andy Singer" <[email protected]>
Newsgroups gmane.comp.security.virus.clamav.devel
Message-ID <[email protected]>
Have you tried cl_scanmap_callback? It seems like it would work for what
you want. It crashes when scanning rar-sfx files, so I made a temporary
hack-fix for it here,
http://lurker.clamav.net/message/20130813.214249.1113932e.en.html

> Helo!
>
> The clamav daemon has an INSTREAM feature for scanning a stream of data.
> I’m developing Go bindings for libclamav
> (https://github.com/eaigner/clam) and was
> wondering why there isn’t such a feature in libclamav?
>
> I searched the libclamav headers for something equal but didn’t find
> anything similar.
> It seems I can only scan by file handle. If I use a pipe handle, it will
> fail.
>
> Is that correct? Do I really have to write (potentially huge) files to
> disk to scan for clamav?
>
> Cheers,
>
> --
> Erik Aigner
>
>
> _______________________________________________
> http://lurker.clamav.net/list/clamav-devel.html
> Please submit your patches to our Bugzilla: http://bugs.clamav.net

_______________________________________________
http://lurker.clamav.net/list/clamav-devel.html
Please submit your patches to our Bugzilla: http://bugs.clamav.net
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.