[Gross] false positives

Imri Zvik imriz at bsd.org.il
Mon Dec 22 10:49:54 EET 2008


Hi :)

On Friday 19 December 2008 14:17:57 Eino Tuominen wrote:
> Jesse Thompson wrote:
> >> Well, a problem reproduced is a problem half solved ;)
> >> (Should I reopen Issue 78?)
> >>
> >> Thanks for the help!
> >
> > Thanks for persisting.  That bug (assuming it's the same one) was a pain
> > in the ass for us.  I hope Eino can resolve it.
>
> Hi,
>
> I found and fixed the bug. There was some parentheses missing which
> caused and integer overflow which caused grossd to reserve too little
> memory for filters. Fixed version in the svn gross-1.0 branch.
>
> The problem was triggered iff
>
> (number_buffers + 1) * 2^filter_bits > 2^31


still crashing...

Mon Dec 22 10:46:10 2008 #40807960: a=greylist d=0 w=0 c=111.111.11.111 
s=xxxxx at xxxxx.com.au r=greg at zzzzz.com h=<unknown>
Mon Dec 22 10:46:10 2008 #40807960: sjsms_connection returning
Mon Dec 22 10:46:10 2008 #40100960: passing message from inq to outq
Mon Dec 22 10:46:10 2008 #40100960: waiting for messages
Mon Dec 22 10:46:10 2008 #40100960: passing message from inq to outq
Mon Dec 22 10:46:10 2008 #40100960: waiting for messages
Mon Dec 22 10:46:10 2008 #40100960: reftime in future, sleeping for 0.893000 
seconds
Mon Dec 22 10:46:10 2008 #40201960: received update command
Segmentation fault

SVN version from 5 minutes ago.
filter_bits = 28



More information about the Gross mailing list