[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: Alan Wood <Alan.Wood_at_clear.net.nz>
Date: Fri, 08 May 2009 22:59:08 +1200

On 8 May 2009 at 15:40, Senthil Kumaran S wrote:

> 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?

Could do it but would like to get tests done for my blame patch to push that through
first. So someone else should be able to get there first it doesn't look too hard.
 
> Thank You.
> --
> Senthil Kumaran S
> http://www.stylesen.org/
>
> ------------------------------------------------------
> http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2109201

------------------------------------------------------
http://subversion.tigris.org/ds/viewMessage.do?dsForumId=462&dsMessageId=2109979
Received on 2009-05-08 13:00:48 CEST

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