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

Re: FSFS vtable doesn't initialise parse_id

From: Greg Hudson <ghudson_at_MIT.EDU>
Date: 2005-03-26 19:46:19 CET

On Sat, 2005-03-26 at 13:41, Philip Martin wrote:
> It's static so it will be null, which means calling svn_fs_parse_id on
> an FSFS repository will SEGV.

You don't call svn_fs_parse_id on a repository. That's the whole
problem. You just call it with an ID. It always tries to use the BDB
implementation.

Fixing the warning by adding an explicit NULL would be fine.

(Fortunately, nothing actually uses svn_fs_parse_id, or we'd have a
bigger mess.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Sat Mar 26 19:52:56 2005

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.