Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 16 Oct 2006 23:49:04 -0400
From:      Tom McLaughlin <tmclaugh@sdf.lonestar.org>
To:        "Brian A. Seklecki" <bseklecki@collaborativefusion.com>
Cc:        =?ISO-8859-1?Q?Andr=E9?= Malo <nd@perlig.de>, "Brian J. Creasy" <bcreasy@collaborativefusion.com>, python@freebsd.org, az@freebsd.org, netops@collaborativefusion.com
Subject:   Re: [netops] Re: svnmailer issue
Message-ID:  <1161056944.5141.18.camel@localhost>
In-Reply-To: <1161030243.37174.64.camel@soundwave.pgh.priv.collaborativefusion.com>
References:  <4533E49D.2000005@collaborativefusion.com> <200610162205.48003@news.perlig.de> <1161030243.37174.64.camel@soundwave.pgh.priv.collaborativefusion.com>

next in thread | previous in thread | raw e-mail | index | archive | help

--=-BX+DxyKeLNgOTPExWj13
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit

On Mon, 2006-10-16 at 16:24 -0400, Brian A. Seklecki wrote:
> Wow thanks for the quick response!
> 
> Very concerning that a double-point version upgrade would change
> something as important as MIME quoted-printable settings.  We patched it
> because of a vulnerability; perhaps that was related, but I don't really
> troll the Phython CVS-commit mailing list of these things.
> 
> CC'ing the relative FreeBSD port maintainers.
> 
> Affected package: python-2.4.3
> Type of problem: python -- buffer overrun in repr() for unicode strings.
> Reference:
> <http://www.FreeBSD.org/ports/portaudit/fe83eb5b-55e1-11db-a5ae-00508d6a62df.html>;
> 
> TIA,
> ~BAS
> 

I don't use svnmailer and it's a little late here but is the attached
patch correct?

In addition, the 1.0.6 tarball was rerolled.  Anyone have a copy of the
old one that can be compared to the new one to see what changes have
been made?  Maybe this secondary problem can wait until after freeze
since we have a copy of the distfile cached on the FBSD mirrors.

=> Attempting to fetch from http://storage.perlig.de/svnmailer/archive/.
fetch:
http://storage.perlig.de/svnmailer/archive/svnmailer-1.0.6.tar.gz: size
mismatch: expected 398025, actual 401649

az@, any comments?

tom

> On Mon, 2006-10-16 at 22:05 +0200, André Malo wrote:
> > * Brian J. Creasy wrote:
> > 
> > > Greetings,
> > >
> > > We have been using your svnmailer utility for about a year now on our
> > > production repository server.  It has worked perfectly up until Friday
> > > when we upgraded python from 2.4.2 to 2.4.3.  When we upgraded, it
> > > started to display messages strangely.  If a line is longer than 80
> > > characters, it is forced to wrap and a '=' is placed at the end of line.
> > >   It also adds "3D" near every instance of a '='.  This presents a
> > > problem with URLs to our ViewVC system along with readability of our
> > > commit messages.
> > 
> > Yeah, this is in incompatible change in python 2.4.3 which results in double 
> > encoded content (what you see is MIME quoted-printable). You can workaround 
> > this problem by configuring
> > 
> > mail_transfer_encoding = 8bit
> > 
> > The problem is fixed in version 1.1, which will be released once I find 
> > enough time to spare...
> > Sorry for the inconvenience.
> > 
> > nd
-- 
| tmclaugh at sdf.lonestar.org             tmclaugh at FreeBSD.org |
| FreeBSD                                   http://www.FreeBSD.org |
| BSD#                    http://www.mono-project.com/Mono:FreeBSD |

--=-BX+DxyKeLNgOTPExWj13
Content-Disposition: attachment; filename=patch-src_lib_svnmailer_settings.py
Content-Type: text/x-patch; name=patch-src_lib_svnmailer_settings.py;
	charset=us-ascii
Content-Transfer-Encoding: 7bit

--- src/lib/svnmailer/settings.py.orig	Mon Oct 16 23:44:28 2006
+++ src/lib/svnmailer/settings.py	Mon Oct 16 23:44:50 2006
@@ -163,7 +163,7 @@
             'long_mail_action'           : ('mailaction', {'map': True}),
             'long_news_action'           : ('mailaction', {'map': True}),
             'mail_type'                  : ('unicode',    {'map': True}),
-            'mail_transfer_encoding'     : 'unicode',
+            'mail_transfer_encoding'     : '8bit',
             'news_transfer_encoding'     : 'unicode',
             'custom_header'              : ('unicode',
                                            {'subst': True, 'map': True}),

--=-BX+DxyKeLNgOTPExWj13--




Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?1161056944.5141.18.camel>