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

Re: pc.dph used after destroyed

From: Karl Fogel <kfogel_at_newton.ch.collab.net>
Date: 2001-12-03 20:07:41 CET

For stuff like this, you don't need to file an issue -- just post a
description of the problem, a log message, and a patch. :-) (When it's
a bug that can be demonstrated easily, great to include a reproduction
recipe too.)

Can you do this for the two problems you discovered below?

Thanks,
-K

Max Okumoto <okumoto@ucsd.edu> writes:
> Found a leak in svn_ra_dav__open()
>
> When the repository is parsed with uri_parse(), the
> variable 'uri' has strings allocated via ne_strdup()
>
> If an errr occurs before the session_baton is created
> then all the strings are lost when the function returns.
>
> Max Okumoto
>
> PS. Should I put this in as a 'issue'

Max Okumoto <okumoto@ucsd.edu> writes:
> In function svn_ra_dav__get_props() the variable 'req' becomes
> invalid when ne_propfind_destroy(pc.dph) is called.
>
> But is used several lines down:
> if (404 == ne_get_status(req)->code)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Oct 21 14:36:51 2006

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.