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

Re: svn commit: r27904 - trunk/subversion/libsvn_ra_serf

From: David Glasser <glasser_at_davidglasser.net>
Date: 2007-11-19 17:05:41 CET

On Nov 18, 2007 1:04 PM, Lieven Govaerts <svnlgo@mobsol.be> wrote:
> David Glasser wrote:
> > On Nov 17, 2007 1:22 PM, <lgo@tigris.org> wrote:
> >> Author: lgo
> >> Date: Sat Nov 17 13:22:43 2007
> >> New Revision: 27904
> >>
> >> Log:
> >> Fix a part of copy_tests 58 over ra_serf: On reparent of a ra_serf session,
> >> allocate the new url from the session pool. This avoids segfaults when the pool
> >> passed in to reparent has a shorter lifetime than the session.
> >
> > Good catch! cmpilato and I just tracked down the same bug in ra_svn
> > as well. Have you looked at ra_local or ra_neon?
>
> I'm sure ra_neon uses the session pool too, so that's ok. It looks like
> ra_local uses the pool passed in as argument.
>
> Lieven

Both neon and local do calculations in an argument pool but then copy
into a stringbuf managed by the session pool, so they're OK.

--dave

-- 
David Glasser | glasser_at_davidglasser.net | http://www.davidglasser.net/
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Mon Nov 19 17:05:54 2007

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

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