#647180 mpack: munpack adds char 255(0xff) to output file(s) unpacking quoted-printable newlines

Package:
mpack
Source:
mpack
Description:
tools for encoding/decoding MIME messages
Submitter:
Adam Spragg
Date:
2011-11-04 11:00:37 UTC
Severity:
important
#647180#5
Date:
2011-10-31 12:01:17 UTC
From:
To:
Dear Maintainer,

I've been using munpack for a while without problems, but on a recent email
it started to add char 255 (0xff)s to the output files.

Looking into the problem, it is adding the characters at quoted-printable
line-breaks. I've stripped the problem email down to something fairly minimal,
and it looks fine to me. The email also loads in a few email programs without
problems, displaying as expected without the extra characters.

I'll attach the test case to the bug.

#647180#10
Date:
2011-10-31 13:53:47 UTC
From:
To:
Attached.
#647180#15
Date:
2011-11-04 10:58:15 UTC
From:
To:
The problem is with the email. It's got DOS newlines (CRLFs), rather than UNIX
newlines. Once that is sorted, the problems go away.

Sorry for the noise.

Adam

<http://www.google.com/search?q=%22top+posting%22>