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

Re: Segfault during "svn info"

From: Daniel Shahaf <d.s_at_daniel.shahaf.name>
Date: Sun, 16 Nov 2008 20:40:45 +0200 (Jerusalem Standard Time)

Daniel Shahaf wrote on Sun, 16 Nov 2008 at 20:10 +0200:
> > > $ svn cleanup
> > >
> > > Program received signal SIGSEGV, Segmentation fault.
> > > [Switching to Thread 47116375701120 (LWP 8732)]
> > > 0x00002ada2100e056 in svn_uri_is_canonical (
> > > uri=0x6653b0 "svn+ssh://svn@10.0.1.1")
> > > at subversion/libsvn_subr/dirent_uri.c:1029
> > > 1029 while (*ptr != '/')
> >
> > From reading the code, it looks like we are running over the end
> > of that string into uninitialised memory.
> >
> > Jens, can you try this patch?
> > And can someone other than Jens try this patch on windows?
> >
>
> How to try this patch? Shall I just apply it and run dirent_uri-tests.exe?
> (Should we add svn:// | file:// test cases to that file?)

dirent_uri tests pass, and 'svn info svn+tau://jens@10.0.1.1/test@' works
correctly -- it prints the 'info' output and doesn't error (same behaviour
with and without the patch).

Daniel

---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-11-16 19:41:00 CET

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.