nmh-workers
[Top] [All Lists]

Re: [Nmh-workers] corruption when attaching all-null files

2014-05-07 11:15:02

On May 7, 2014, at 9:06 AM, Paul Fox 
<pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us> wrote:

in testing the marker line format, i created a bunch of files of
varying sizes in order to attach them.  by chance, i used dd from
/dev/zero to create the files, so they all consist of null characters.

it turns out that when i attach such a file, something goes wrong, and
i end up with the mime header for the attachment, but an empty part, and
mhlist complains about "bogus multipart content"

I wouldn't be surprised if there were issues around files with NULs in them.  
The underlying bug(s) should be tracked down and fixed.

Meanwhile, you can use the 'yes' command to generate noise for test files. (yes 
| dd bs=64k count=1 > file)

i haven't dug further.  and this is on master.  i also haven't tested
the 1.6 branch.

This code shouldn't go anywhere near 1.6, so don't worry about it.

--lyndon

Attachment: signature.asc
Description: Message signed with OpenPGP using GPGMail

_______________________________________________
Nmh-workers mailing list
Nmh-workers(_at_)nongnu(_dot_)org
https://lists.nongnu.org/mailman/listinfo/nmh-workers
<Prev in Thread] Current Thread [Next in Thread>