[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: [Tlf-devel] tlf segfault
From: |
Thomas Beierlein |
Subject: |
Re: [Tlf-devel] tlf segfault |
Date: |
Mon, 5 Oct 2009 18:52:02 +0200 |
User-agent: |
Mutt/1.5.17 (2007-11-01) |
Hi Rein,
On Mon, Oct 05, 2009 at 03:02:18PM +0200, Rein Couperus wrote:
> I will include the patch and release it this week.
>
just wait a little bit with a new release. We just checked with the new
gcc 4.4.1 and glibc 2.10. There are more problems to fix.
I will look for it and keep you informed.
73, de Tom DL1JBE.
>
> > -----Ursprüngliche Nachricht-----
> > Von: "Thomas Beierlein" <address@hidden>
> > Gesendet: 05.10.09 15:00:50
> > An: address@hidden
> > Betreff: [Tlf-devel] tlf segfault
>
>
> > Hi,
> >
> > Tlf segfaults immediately after start on some machines here if started
> > with 'tlf -n' and if SPOTLIST is activated in logcfg.dat (as installed by
> > default as example).
> >
> > Found the reason in cluster_bg.c where in case of an empty spotlist tlf
> > uses
> > some negative indexes for array access (around lines 460..490) . Bummer!
> >
> > The following diff fixes the problem. I hope Rein can integrate the patch
> > soon
> > and release a fixed version.
> >
> > 73, de Tom DL1JBE
> >
> > Patch follows here:
> >
> > --- src/cluster_bg.c.orig 2009-10-03 09:14:28.000000000 +0200
> > +++ src/cluster_bg.c 2009-10-02 08:25:40.000000000 +0200
> > @@ -463,7 +463,10 @@
> > for (j=15; j < 23; j++)
> > mvprintw(j,4, " ");
> >
> > -if (cluster == SPOTS) linepos = i - 8;
> > +if (cluster == SPOTS){
> > + linepos = i - 8;
> > + if (linepos < 0) linepos = 0;
> > +}
> > else linepos = 0;
> >
> >
> > --
> > "Do what is needful!"
> > Ursula LeGuin: Earthsea
> > --
> >
> >
> >
> > _______________________________________________
> > Tlf-devel mailing list
> > address@hidden
> > http://lists.nongnu.org/mailman/listinfo/tlf-devel
> >
>
> --
> http://pa0r.blogspirit.com
--
"Do what is needful!"
Ursula LeGuin: Earthsea
--