Bug I think with configfile.c

Manvendra Bhangui mbhangui at yahoo.com
Thu Jan 29 13:52:15 CET 2004


David,

bogofilter-0.16.4 does not have this bug. The problem
was in the order of arguments passed to
process_config_options() in configfile.c

Thanks

Regards Manvendra
On Thu, 2004-01-29 at 17:58, David Relson wrote:
> On Thu, 29 Jan 2004 15:56:23 +0530
> Manvendra Bhangui wrote:
> 
> > David,
> > 
> > On Fri, 2004-01-23 at 18:12, David Relson wrote:
> > 
> > To have wordlist.db in /var/sifymail/etc, you can include
> > "bogofilter_dir=/var/sifymail/etc" in your bogofilter.cf file or you
> > can run bogofilter with argument "-d /var/sifymail/etc"
> > 
> > That is what I was doing till bogofilter-0.16.2. With
> > bogofilter-0.16.3 one has to explicitly give the "-d" argument.
> > 
> > The bug is wierd and  dissapears when the code in the function
> > process_config_option() is carried out directly in the 
> > function read_config_file().
> > 
> > Running gdb also shows some variable corruption in datastore.c
> > 
> > truss -o /tmp/truss.txt bogofilter -vvv < /etc/hosts
> > also shows bogofilter trying to open wordlist.db twice.
> > 
> > The first time the correct wordlist.db is opened,
> > the second time bogofilter tries to open wordlist.db in
> > $HOME/.bogofilter(I have attached truss output)
> 
> Manvendra,
> 
> This sounds familiar and I think it's fixed in 0.16.4.  Can you give
> that a try?
> 
> Unfortunately I don't have time to dig into your debug output now as I
> have to head for work in about 1/2 hour.
> 
> Please let me know if 0.16.4 works for you.
> 
> David
> 
> ---------------------------------------------------------------------
> FAQ: http://bogofilter.sourceforge.net/bogofilter-faq.html
> To unsubscribe, e-mail: bogofilter-unsubscribe at aotto.com
> For summary digest subscription: bogofilter-digest-subscribe at aotto.com
> For more commands, e-mail: bogofilter-help at aotto.com
-- 
Manvendra Bhangui <mbhangui at yahoo.com>





More information about the Bogofilter mailing list