On Wed, 22 Dec 2004 18:00:12 +0200 Tsantilas Christos <[EMAIL PROTECTED]> wrote:
> >I don't see a point why would you want to replace all > >calls to open/read/seek in libclamav with your own functions. > > In this case someone can use streams instead of files where streams > can be files or memory buffers or anything else, which can you open > it, read bytes from it > and seek to the desired position. I disagree. It's not possible to modify libclamav to work like that by simple intercepting those calls. The simplest and effective solution in your case would still be to use cl_scandesc() but perform all file operations in a memory based file system. > OK. I had seen some implementations which use this implementation and > I wanted to hear a reliable answer. If they're ClamAV based please point them out and I will have good targets to vent my anger on :-) > P.S. > To Tomasz Kojm: My name in greeks means something like "angry". Nice. Finally I have a name for my next turtle :-) Bye, -- oo ..... Tomasz Kojm <[EMAIL PROTECTED]> (\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg \..........._ 0DCA5A08407D5288279DB43454822DC8985A444B //\ /\ Wed Dec 22 17:04:26 CET 2004
pgpWg699PLl4P.pgp
Description: PGP signature
_______________________________________________ http://lists.clamav.net/cgi-bin/mailman/listinfo/clamav-devel
