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

Re: assert() vs. return(error)

From: <kfogel_at_collab.net>
Date: 2006-02-16 21:29:39 CET

"Stuart Celarier" <SCelarier@corillian.com> writes:
> I see it from a different perspective. A failed assert causes the server
> to call abort. That allows one user to deny service from all users and
> all repositories on the server. With hundreds of users on a server, that
> is a security issue, not a usability or friendliness question.

Any instance where Subversion enables a user to improperly deny
service to other users is a bug in Subversion. There's no
disagreement on that, and we've always treated such instances as bugs.
Our "policy", such as it is, is to fix bugs in what seems the best way
in each circumstance. (Note that in the case that started this, part
of our fix was to put a check inside the API in question.)

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Thu Feb 16 23:13:38 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.