Here's a diff for those who wish to try it.
___________________________________________________
--- libclamav/matcher-bm.c.orig 2004-11-26 12:22:13.000000000 -0700
+++ libclamav/matcher-bm.c 2004-11-26 12:22:15.000000000 -0700
@@ -79,5 +79,5 @@
int cli_bm_init(struct cl_node *root)
{
int i;
- unsigned int size = DHASH(256, 256, 256);
+ unsigned int size = DHASH(528, 528, 128); /* updated to 128k instead of 62.25k - DHASH(256, 256, 256) */
@@ -103,5 +103,5 @@
{
struct cli_bm_patt *b1, *b2;
int i;
- unsigned int size = DHASH(256, 256, 256);
+ unsigned int size = DHASH(528, 528, 128); /* updated to 128k instead of 62.25k - DHASH(256, 256, 256) */
___________________________________________________
-- Dale
_______________________________________________ http://lurker.clamav.net/list/clamav-users.html
