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

Re: svn commit: r32558 - trunk/subversion/libsvn_fs_fs

From: Kamesh Jayachandran <kamesh_at_collab.net>
Date: Tue, 19 Aug 2008 23:44:57 +0530

-----BEGIN PGP SIGNED MESSAGE-----
Hash: SHA1

Is it not applicable for bdb?

With regards
Kamesh Jayachandran

cmpilato_at_tigris.org wrote:
> Author: cmpilato
> Date: Tue Aug 19 10:23:16 2008
> New Revision: 32558
>
> Log:
> Fix SEGFAULT introduced in r32545.
>
> * subversion/libsvn_fs_fs/tree.c
> (fs_node_origin_rev): Avoid dup'ing a NULL pointer.
>
> Modified:
> trunk/subversion/libsvn_fs_fs/tree.c
>
> Modified: trunk/subversion/libsvn_fs_fs/tree.c
> URL: http://svn.collab.net/viewvc/svn/trunk/subversion/libsvn_fs_fs/tree.c?pathrev=32558&r1=32557&r2=32558
> ==============================================================================
> --- trunk/subversion/libsvn_fs_fs/tree.c Tue Aug 19 09:53:49 2008 (r32557)
> +++ trunk/subversion/libsvn_fs_fs/tree.c Tue Aug 19 10:23:16 2008 (r32558)
> @@ -3084,7 +3084,7 @@ fs_node_origin_rev(svn_revnum_t *revisio
> (which is allocated in SUBPOOL ... maybe). */
> svn_pool_clear(predidpool);
> SVN_ERR(svn_fs_fs__dag_get_predecessor_id(&pred_id, node, subpool));
> - pred_id = svn_fs_fs__id_copy(pred_id, predidpool);
> + pred_id = pred_id ? svn_fs_fs__id_copy(pred_id, predidpool) : NULL;
> }
>
> /* When we get here, NODE should be the first node-revision in our
>
> ---------------------------------------------------------------------
> To unsubscribe, e-mail: svn-unsubscribe_at_subversion.tigris.org
> For additional commands, e-mail: svn-help_at_subversion.tigris.org
>
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v1.2.6 (GNU/Linux)
Comment: Using GnuPG with Mozilla - http://enigmail.mozdev.org

iD8DBQFIqw2h3WHvyO0YTCwRAk4sAJ9S6eO8mv6/B/yUYu4DscSCksREyQCfW0oJ
THQhPPYdM3YUxgNTTDw7TtY=
=Pyus
-----END PGP SIGNATURE-----

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-08-19 20:16:10 CEST

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.