You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@subversion.apache.org by Malcolm Rowe <ma...@farside.org.uk> on 2007/02/14 09:56:15 UTC

Re: Recursion of copy_source_ops() causes stack overflow in Apache

On Mon, Jan 29, 2007 at 04:24:36PM -0800, Daniel Rall wrote:
> On Mon, 29 Jan 2007, Daniel Berlin wrote:
> > Errr, why not just remove the c-stack and turn the thing into a while
> > loop using a pool-allocated stack?
> 
> That seems like a reasonable way to go.  This way, if we overflow,
> we're *really* out of memory (heap), instead of just out of stack
> space.

I've filed that task as issue 2715.  Robin's attachment elsethread could
also be useful for working out whether we have a particularly degenerate
case, or that we've just been lucky so far.  (Unfortunately, I'm a bit
busy at the moment, so I can't really spare the time to take a look).

Regards,
Malcolm