subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Bert Huijben" <b...@qqmail.nl>
Subject RE: assertion failed / segfault in svn_ra_do_diff3
Date Mon, 23 Jun 2014 10:48:28 GMT


> -----Original Message-----
> From: Mikhail Veltishchev [mailto:dichlofos-mv@yandex.ru]
> Sent: maandag 23 juni 2014 12:18
> To: Bert Huijben; users@subversion.apache.org
> Subject: Re: assertion failed / segfault in svn_ra_do_diff3
> 
> Oops, my bad! You're absolutely right, that was 'svn diff' command. And
this
> mistake was the reason of crash 'disappearing': after that I built svn
1.8.9
> from sources and got the same crash again, so it is reproducible.
> 
> Here is a backtrace for `svn diff -r 1403046 ..` invocation:
> http://pastebin.com/DkfRVZmP.
> 
> svn, version 1.8.9 (r1591380)
>    compiled Jun 20 2014, 23:36:08 on x86_64-unknown-linux-gnu
> 
> Built using gcc 4.7.2:
> gcc (Ubuntu/Linaro 4.7.2-2ubuntu2) 4.7.2

I just reproduced this issue on Subversion trunk and added a regression test
for it in r1604736.

The problem is most likely in the literal '..', which is accidentally passed
on as invalid file or directory name in this diff variant.

I'll see if I can fix this issue later today. (And then what it will take to
backport the fix to 1.8.x)

	Bert


Mime
View raw message