nmh-workers
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

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


From: Lyndon Nerenberg
Subject: Re: [Nmh-workers] corruption when attaching all-null files
Date: Wed, 7 May 2014 09:13:33 -0700

On May 7, 2014, at 9:06 AM, Paul Fox <address@hidden> 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


reply via email to

[Prev in Thread] Current Thread [Next in Thread]