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

Re: bug in svn_client_copy wc to url

From: Senthil Kumaran S <senthil_at_collab.net>
Date: Fri, 08 May 2009 15:40:31 +0530

Alan Wood wrote:
> Hi All,
> Just been trying to write tests for the first time ( in subversion that is ).
> In the process I came across a seg fault when doing a svn copy wc to url.
>
> There seems to be no check to see if a wc file exists before libsvn_client\copy.c line
> 1096 where it crashes on entry == NULL
>
> SVN_ERR(svn_wc_entry(&entry, pair->src, adm_access,
> FALSE, iterpool));
> pair->src_revnum = entry->revision;

Yes this is a bug. Alan, are planning to come up with a patch for the same?

Thank You.

-- 
Senthil Kumaran S
http://www.stylesen.org/
------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2109201
Received on 2009-05-08 12:11:05 CEST

This is an archived mail posted to the Subversion Dev mailing list.