darcs

Patch 1100 Fix a bug in MIME encoding of bundles.

Title Fix a bug in MIME encoding of bundles.
Superseder Nosy List mornfall
Related Issues
Status accepted Assigned To
Milestone

Created on 2013-09-06.18:54:28 by mornfall, last changed 2014-03-25.18:09:40 by gh.

Files
File name Status Uploaded Type Edit Remove
broken.dpatch dead ganesh, 2013-12-04.08:12:20 application/octet-stream
correct.dpatch dead ganesh, 2013-12-04.08:12:08 application/octet-stream
fix-a-bug-in-mime-encoding-of-bundles_.dpatch mornfall, 2013-09-06.18:54:27 application/x-darcs-patch
patch-preview.txt mornfall, 2013-09-06.18:54:27 text/x-darcs-patch
unnamed mornfall, 2013-09-06.18:54:27
See mailing list archives for discussion on individual patches.
Messages
msg17011 (view) Author: mornfall Date: 2013-09-06.18:54:27
Hi,

since reporting this on IRC didn't work, I'm trying it this way. Please note
that the patch is NOT tested. I don't have a working darcs build environment
anymore. Take it or leave it. More info in
http://irclog.perlgeek.de/darcs/2013-04-19

Petr

1 patch for repository http://darcs.net/screened:

Fri Sep  6 20:34:22 CEST 2013  Petr Rockai <me@mornfall.net>
  * Fix a bug in MIME encoding of bundles.
  
  When the line wrapper which generates "quoted printable" breaks a line right in
  front of a period, the period is doubled later because a single period on a
  line means "end of input" for sendmail. However, it is never de-duplicated and
  the resulting bundle becomes invalid.
Attachments
msg17104 (view) Author: ganesh Date: 2013-12-04.12:21:19
(attached the demonstration files so we have them archived)

I've been trying to reproduce this but haven't managed it yet with exim 
4.80 on Debian as sendmail. What would have been providing your sendmail 
command? I'm wondering if there's a difference there.
msg17113 (view) Author: mornfall Date: 2013-12-17.11:49:26
Hi,

Ganesh Sittampalam <bugs@darcs.net> writes:
> I've been trying to reproduce this but haven't managed it yet with exim 
> 4.80 on Debian as sendmail. What would have been providing your sendmail 
> command? I'm wondering if there's a difference there.

most likely postfix, though I am usually at the receiving end of this
bug. But I don't think it would make a difference.

Petr

-- 
id' Ash = Ash; id' Dust = Dust; id' _ = undefined
msg17224 (view) Author: gh Date: 2014-03-25.18:09:40
I'm accepting this on the basis that 1) it looks legit and 2) it has
been in screened for a while and I've been using it to send bundles with
msmtp and it does not seem to cause harm.
History
Date User Action Args
2013-09-06 18:54:28mornfallcreate
2013-10-10 16:00:38ghsetstatus: needs-screening -> needs-review
2013-12-04 08:12:08ganeshsetfiles: + correct.dpatch
2013-12-04 08:12:20ganeshsetfiles: + broken.dpatch
2013-12-04 12:21:20ganeshsetmessages: + msg17104
2013-12-17 11:49:27mornfallsetmessages: + msg17113
2014-03-25 18:09:40ghsetstatus: needs-review -> accepted
messages: + msg17224