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

fs may not be opened

From: Greg Stein <gstein_at_lyra.org>
Date: 2001-03-10 19:35:30 CET

I just hit a problem where I called svn_fs_list_transactions() without a
prior call to svn_fs_open_berkeley(). It segfaulted within DB because we
tried to create a transaction (in begin_trail) using fs->env which was NULL.

I'm totally fine with allowing segfaults due to caller bogosity (and prefer
it rather than litter my code with arg validation), but figured that I'd
raise it in case somebody disagreed.

Cheers,
-g

-- 
Greg Stein, http://www.lyra.org/
Received on Sat Oct 21 14:36:25 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.