nmh-workers
[Top] [All Lists]

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

2014-05-07 11:28:13
lyndon wrote:

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)

sure.


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
----------------------
 paul fox, pgf(_at_)foxharp(_dot_)boston(_dot_)ma(_dot_)us (arlington, ma, 
where it's 64.2 degrees)

_______________________________________________
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>