On Tue, 1 Mar 2005 12:52:29 -0500 Dale Walsh <[EMAIL PROTECTED]> wrote:
> Well Tomasz, it just crashed, I'm sitting at the gdb prompt, anything
>
> you want to examine from here?
>
> Program received signal EXC_BAD_ACCESS, Could not access memory.
> cli_bm_addpatt (root=0x205c80, pattern=0x21dd890) at matcher-bm.c:62
> 62 matcher-bm.c: No such file or directory.
> in matcher-bm.c
> (gdb) bt
> #0 cli_bm_addpatt (root=0x205c80, pattern=0x21dd890) at
> matcher-bm.c:62 #1 0x037eac80 in cli_parse_add (root=0x205c80,
> virname=0xbfffc240 "Worm.JS.Redlof.A (Clam)", hexsig=0xbfffc258
> "272f74765f706f7075702e68746d272c272f7669657765722e63666d3f2a7069643d
Is the problem reproducible with clamscan or clamd?
In matcher-bm.c:62 change
unsigned int size = DHASH(256, 256, 256);
to
unsigned int size = 131072;
Does it help?
--
oo ..... Tomasz Kojm <[EMAIL PROTECTED]>
(\/)\......... http://www.ClamAV.net/gpg/tkojm.gpg
\..........._ 0DCA5A08407D5288279DB43454822DC8985A444B
//\ /\ Tue Mar 1 19:13:59 CET 2005
pgpkWYuY2b2NM.pgp
Description: PGP signature
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
