Tnx Tom, I will include the patch and release it this week.
73, Rein PA0R > -----Ursprüngliche Nachricht----- > Von: "Thomas Beierlein" <t...@forth-ev.de> > Gesendet: 05.10.09 15:00:50 > An: tlf-devel@nongnu.org > 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 > Tlf-devel@nongnu.org > http://lists.nongnu.org/mailman/listinfo/tlf-devel > -- http://pa0r.blogspirit.com _______________________________________________ Tlf-devel mailing list Tlf-devel@nongnu.org http://lists.nongnu.org/mailman/listinfo/tlf-devel