[svn.haxx.se] · SVN Dev · SVN Users · SVN Org · TSVN Dev · TSVN Users · Subclipse Dev · Subclipse Users · this month's index

Re: pre-commit hangs

From: Garrett Rooney <rooneg_at_electricjellyfish.net>
Date: 2006-05-19 19:44:38 CEST

On 5/19/06, Gisbert Amm <gia@webde.de> wrote:
> I have a pre-commit hook that checks for tabs in Python files and
> rejects the commit if it finds any, writing a line to stderr for every
> file so that the user knows what to fix. It worked so far but the
> process always hung when the amount of error messages the script
> returned was bigger than a certain size.
> After some searching I found out that the process hangs because there's
> too much data on stderr, more than the stderr buffer size, which is the
> system's default page size (4096 Byte on my system). It is similar to
> this Apache vulnerability: http://www.securityfocus.com/bid/5787/info.
> I've tried out this exploit; it does no longer work with Apache 2.0.52.
> Therefore I consider Subversion the culprit.
> As a workaround, I do check how much data the hook script wants to write
> to stderr and cut it, if it's too long. However, I'd rather see this
> fixed cleanly.
> Has anyone else experienced the same and is it probably already reported
> as an issue? Otherwise I'd file a bug report.

What version of Subversion are you seeing the problem with? I believe
this has been fixed in 1.3.x.


To unsubscribe, e-mail: users-unsubscribe@subversion.tigris.org
For additional commands, e-mail: users-help@subversion.tigris.org
Received on Fri May 19 19:45:57 2006

This is an archived mail posted to the Subversion Users mailing list.

This site is subject to the Apache Privacy Policy and the Apache Public Forum Archive Policy.