Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-11 Thread Moritz Muehlenhoff
Hi Bas, > > > I'm not sure what is happening, because the h->from is explicitly malloced > > > in process_xover(), which is also the only place in the source (afaics) > > > where any Slrn_Header_Type is malloced. > > > So, the only thing I can think of is that slrn messes with the from field > > >

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-10 Thread Bas Zoetekouw
Hi Moritz! You wrote: > > I'm not sure what is happening, because the h->from is explicitly malloced > > in process_xover(), which is also the only place in the source (afaics) > > where any Slrn_Header_Type is malloced. > > So, the only thing I can think of is that slrn messes with the from fiel

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-09 Thread Moritz Muehlenhoff
Bas Zoetekouw wrote: > > I've tracked it down to this hunk: > > > > +#ifdef USE_ICONV /* we've copied this string */ > > + slrn_free (h->from); > > +#endif > > > > This triggers a double free. With "slrn_free (h->from);" removed slrn > > works w/o segfaults. > > Yes, that's what I expected. Howe

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-09 Thread Bas Zoetekouw
> I've tracked it down to this hunk: > > +#ifdef USE_ICONV /* we've copied this string */ > + slrn_free (h->from); > +#endif > > This triggers a double free. With "slrn_free (h->from);" removed slrn > works w/o segfaults. Yes, that's what I expected. However, simply removing the slrn_free() will

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-08 Thread Moritz Muehlenhoff
On Thu, Feb 08, 2007 at 02:47:00PM +0100, Bas Zoetekouw wrote: > Hi Moritz! > > > I've upgraded my sid-based notebook last week and I'm running into > > problems > > caused by the charset fallback patch. I'm regularly using "x" to remove > > all non-tagged read articles from the article list and s

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-08 Thread Bas Zoetekouw
Hi Moritz! > I've upgraded my sid-based notebook last week and I'm running into > problems > caused by the charset fallback patch. I'm regularly using "x" to remove > all non-tagged read articles from the article list and slrn segfaults > every 5-7th time. > I suppose it's some kind of memory corr

Bug#410135: slrn: Charset fallback causes regular segfaults when expunging

2007-02-07 Thread Moritz Muehlenhoff
Package: slrn Version: 0.9.8.1pl1-26 Severity: important I've upgraded my sid-based notebook last week and I'm running into problems caused by the charset fallback patch. I'm regularly using "x" to remove all non-tagged read articles from the article list and slrn segfaults every 5-7th time. One