Hi Nigel,

Sorry I am not an expert of the C language. It may have difficulty for me to trace the program. Any way, by turning the DEGUG on, what else do I need to watch out?

Best Regards
Gene Leung

Nigel Horne wrote:

What is happening is that on this line:

snprintf(fullname, sizeof(fullname) - 1, "%s/%.*sXXXXXX", dir,
                (int)(sizeof(fullname) - 9 - strlen(dir)), filename);

The XXXXXX isn't being appended to the string. This "cannot happen" and points
to a bug outside of my control.

Perhaps enabling debugging within clamd will help to see why this is happening.

-Nigel

On Thursday 14 Apr 2005 10:46, Gene Leung wrote:


Hi Nigel,

Here are the files:

LibClamAV Error: Can't create temporary file
/var/tmp/clamav-a7b7920ff0485a4d/: Invalid argument
LibClamAV Error: fileblobDestroy: file not saved: report to [EMAIL PROTECTED]

[EMAIL PROTECTED] /var/tmp/clamav-a7b7920ff0485a4d]# ls -alt
total 24
drwxrwxrwt 138 root root 12288 Apr 14 17:41 ..
drwx------ 2 root root 4096 Apr 14 17:25 .
-rw------- 1 root root 393 Apr 14 17:25 mixedtextportiono0twIg
-rw------- 1 root root 1623 Apr 14 17:25 mixedtextportionpxd3Uy

Should you need more to investigate, please let me know!! Thanks!!

Best Regards
Gene Leung


-------- Original Message -------- Subject: [Fwd: [Fwd: Re: [Fwd: Re: [Clamav-users] fileblobDestroy: file not saved]]] Date: Thu, 14 Apr 2005 16:54:59 +0800 From: Gene Leung <[EMAIL PROTECTED]> To: [EMAIL PROTECTED]



Hi Nigel,

Oh, I am sorry! I think I can get it !! I will send one to you a little
bit latter !

Best Regards
Gene

-------- Original Message --------
Subject:        [Fwd: Re: [Fwd: Re: [Clamav-users] fileblobDestroy: file not
saved]]
Date:   Thu, 14 Apr 2005 16:52:27 +0800
From:   Gene Leung <[EMAIL PROTECTED]>
To:     [EMAIL PROTECTED]



Hi Nigel,

Thank you for the reply!  Is there any hint from looking up those temporary 
directories?  Since most of them are ok, only few may have errors.

Best Regards
Gene Leung

/*** Message Sent by you ***/

Yes, sorry I remember you posting that to clamav-users. I can see nothing
obvious wrong here than the one I mentioned about an incorrect LocalSocket
value which isn't being used in your configuration.

In that case, yes, your best bet is to turn on LeaveTemporaryFiles and see if
you can track it. Watch out though, you'll soon have a lot of temporaryfiles so
you will need to clean them out very often.

-Nigel Horne














_______________________________________________ http://lurker.clamav.net/list/clamav-users.html

Reply via email to