RE: base64 decoding bug

From: Crispen, Bob <>
Date: Tue, 30 May 2000 07:44:23 -0500
Message-Id: <>

Daniel Stenberg[] sez:

> I think the nicest possible solution to this problem would be to add all
> the
> detected base64-lines to a linked list, and when the end of the section is
> found we write a function that extends the current base64decoder and
> decodes
> all the lines in the list as one big base64-chunk.
> I am willing to do this change, unless anyone else wants to or have a
> better
> idea of how to correct this.

Why not good old recursion. Perhaps I misunderstand the problem, but take a look at download the program, and look in newslib.c. I believe what I've got there might solve the problem. At any rate, I haven't observer it to fail on unicode/quoted printable/etc. multi-line subject lines in my newsreader.

Please feel free to use what you want.

Bob Crispen Received on Tue 30 May 2000 02:46:02 PM GMT

This archive was generated by hypermail 2.3.0 : Sat 13 Mar 2010 03:46:12 AM GMT GMT