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

Re: Segmentation fault in dav_svn_get_txn

From: C. Michael Pilato <cmpilato_at_collab.net>
Date: 2004-02-12 07:46:02 CET

Christof Meerald <cmeerw@web.de> writes:

> Hi,
>
> I have discovered a segmentation fault in
> subversion/mod_dav_svn/activity.c (Subversion 0.37.0) in function
> dav_svn_get_txn. It unconditionally invokes apr_dbm_freedatum(dbm,
> value) even if value hasn't been initialized. Obviously, the call to
> apr_dbm_freedatum should be moved up two lines (just after the
> apr_pstrdup). Here is the fixed version:

Thanks, Christof. It's generally better to mail patches, but this fix
was simple enought to describe in prose (as you did), so I decided not
to give you a hard time about it. :-)

You may see the fruits of your debugging labor in revision 8618.

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Tue Mar 9 00:12:10 2004

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.