[Gross] false positives

Imri Zvik imriz at bsd.org.il
Mon Dec 22 11:01:06 EET 2008


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

Hi,


Now (with the right branch from SVN :) ), I cannot go over 28. Anything above 
28 results a crash similar to the one before.




More information about the Gross mailing list