Re: Segmentation fault with mime.sl

Morten Bo Johansen <[email protected]> Thu, 7 Mar 2013 14:38:47 +0100
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On 2013-03-07 Morten Bo Johansen wrote:

> I get a segmentation fault when running slrn with the mime.sl
> that is included in the slrn archive. This happens with both
> 1.0.1 and the latest git version. Below is the output from gdb.
> Without interpreting mime.sl there is no problem.

This was a problem with the get_charset function, more specifically with
this line in mime.sl

  private variable Mime_Save_Charset = get_charset ("display");

It is that line which causes the segmentation fault. For now I have
changed it to:

  private variable Mime_Save_Charset = "utf-8";
  
and everything is okay.

And slrn now processes mime messages very nicely!

Thanks!

Morten


------------------------------------------------------------------------------
Symantec Endpoint Protection 12 positioned as A LEADER in The Forrester  
Wave(TM): Endpoint Security, Q1 2013 and "remains a good choice" in the  
endpoint security space. For insight on selecting the right partner to 
tackle endpoint security challenges, access the full report. 
http://p.sf.net/sfu/symantec-dev2dev