Re: [Build 69] Internal Error in slrn_convert_substring

Andrew Strong <[email protected]>
Newsgroups gmane.network.slrn.user
Message-ID <[email protected]>
On Tue, Dec 18, 2007 at 11:12:13PM -0500, John E. Davis wrote:

[...]

> The problem is the "From:" header, which is encoded as:
> 
>   <[email protected]=?=>
> 
> As the "x-user-defined" character set is meaningless, converting it to
> the display character set will fail.  The "internal error" was
> generated because the base64 decoded bytes contained a null ('\0')
> byte, which, as far as I know, is illegal in a header.  slrn was not
> expecting this and generated an internal error.  The latest
> development snapshot detects this and converts the null byte to '?',
> avoiding the internal error.
> 
> Hopefully this resolves the problem.

Thanks again for the swift response John. The two rogue messages:

<[email protected]>
<[email protected]>

now generate an error message:

Can't convert x-user-defined -> UTF-8

This is on entering the group with the messages, and on entering the
messages themselves. This is with:

andrew@ilium~$ slrn --version
slrn pre0.9.9-73
        * Note: This version is a developer preview.
S-Lang Library Version: 2.0.7
Compiled at: Dec 19 2007 15:53:46
Operating System: Linux

 All the best,

   Andrew (Strong)

-- 
Now I can praise him, now that I can stand by to mourn
and speak before this web that killed my father; yet
I grieve for the thing done, the death, and all our race.
I have won; but my victory is soiled, and has no pride.

-------------------------------------------------------------------------
SF.Net email is sponsored by:
Check out the new SourceForge.net Marketplace.
It's the best place to buy or sell services
for just about anything Open Source.
http://ad.doubleclick.net/clk;164216239;13503038;w?http://sf.net/marketplace
lmpx.com only provides a reader for public news (NNTP) servers. It is not affiliated with the servers or forums shown here and is not responsible for the content of articles, which is written by their respective authors.