[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: [leafnode-list] Segfault in leafnode-2.0.0.alpha20030127a



Chris Mears <chris@xxxxxxxxxxxxxxxxxx> writes:

> Hello all,
>
> I just compiled and installed leafnode-2.0.0.alpha20030127a and found
> that running fetchnews with the -f parameter results in a segmentation
> fault.  The fault occurs on line 191 of activutil.c:
>
>
>     while (l) {
>         la = l;
>         newsgroup_copy(active + count, l->entry);
>         l = l->next;
>         count++;
>         free(l->entry);         <<<<---- **** Segfault here ******

That should have been la->entry. Fixed in 2.0.0.alpha-20030128a.

>         free(la);               /* clean up */
>     }

-- 
Matthias Andree
leafnode-1 download: http://sourceforge.net/projects/leafnode/
leafnode-1 docs/new: http://mandree.home.pages.de/leafnode/
leafnode-2 homepage: http://mandree.home.pages.de/leafnode/beta/

-- 
leafnode-list@xxxxxxxxxxxxxxxxxxxxxxxxxxxx -- mailing list for leafnode
To unsubscribe, send mail with "unsubscribe" in the subject to the list