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

Re: Crash in svn_client_ls()

From: Philip Martin <philip_at_codematters.co.uk>
Date: 2005-01-26 20:34:02 CET

SteveKing <steveking@gmx.ch> writes:

> when calling svn_client_ls() with path_or_url param as an empty string
> (I know, that's a bug in TSVN) then a crash occurs. Since it's wrong
> to pass an empty path to that function it's not that important, but
> still, I think Subversion shouldn't crash but return an error.

When you say 'empty string' do you mean "" or do you mean NULL?
Passing "" (which Subversion refers to as an empty string) should
work. NULL is an error by the caller, and Subversion doesn't
generally attempt to catch such errors. If you feel that it should
catch NULL then I think you will find that most of the Subversion
developers disagree.

-- 
Philip Martin
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@subversion.tigris.org
For additional commands, e-mail: dev-help@subversion.tigris.org
Received on Wed Jan 26 20:36:05 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.