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

FSFS vtable doesn't initialise parse_id

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-03-26 19:41:58 CET

../svn/subversion/libsvn_fs_fs/fs.c:282: warning: missing initializer
../svn/subversion/libsvn_fs_fs/fs.c:282: warning: (near initialization for 'library_vtable.parse_id')

It's static so it will be null, which means calling svn_fs_parse_id on
an FSFS repository will SEGV. The documentation for svn_fs_parse_id
states that it is "not guaranteed to work", does that make the SEGV OK?

-- 
Philip Martin
---------------------------------------------------------------------
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:43:13 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.