Re: [Clamav-devel] One problem in filetype.c in clamav0.90

2007-03-01 Thread Tomasz Kojm
On Thu, 1 Mar 2007 08:43:18 -0800 "Dan Wilder" <[EMAIL PROTECTED]> wrote: > Logically appears to be true that it evaluates to FALSE. Yes, and it was discussed yesterday. -- oo. Tomasz Kojm <[EMAIL PROTECTED]> (\/)\. http://www.ClamAV.net/gpg/tkojm.gpg \

RE: [Clamav-devel] One problem in filetype.c in clamav0.90

2007-03-01 Thread Dan Wilder
Logically appears to be true that it evaluates to FALSE. The proof of the pudding is sometimes in the code. Internat is from filetypes.c. ~$ cat tst.c #include static char internat[256] = { /* TODO: Remember to buy a beer to Joerg Wunsch <[EMAIL PROTECTED]> */ 0, 0, 0, 0, 0, 0, 0, 0, 1

Re: [Clamav-devel] One problem in filetype.c in clamav0.90

2007-03-01 Thread Dale Walsh
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On Feb 27, 2007, at 22:28:38, alex wrote: Dears all: I have read the source code of clamav 0.90 and found a strange code in filetype.c. There is an expressioniIn 233 line of filetype.c : if(!iscntrl(buf[i]) && !isprint(buf[i]) &