[Top][All Lists]

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

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

From: Paul Fox
Subject: Re: [Nmh-workers] corruption when attaching all-null files
Date: Wed, 07 May 2014 12:19:18 -0400

lyndon wrote:
 > 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.

which code are you referring to?  currently the differences between
master and 1.6 aren't all that great, and while i discovered this
issue while testing the new marker line format, i'm skeptical that
that's the cause.

 paul fox, address@hidden (arlington, ma, where it's 64.2 degrees)

reply via email to

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