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

1.5.x segmentation fault on Repos to Repos copy

From: Alexander Kitaev <Alexander.Kitaev_at_svnkit.com>
Date: Sun, 18 May 2008 15:46:18 +0200


The following command fails with segmentation fault:

svn cp --parents SRC_FILE_URL DST_DIR_URL -m "message"

SRC_FILE_URL - existing file
DST_DIR_URL - existing directory

Omitting "--parents" option makes above copy operation work as expected.

Bug is in libsvn_client/copy.c:801, where "dir" should be checked for
null before using it in svn_ra_check_path call.

Alexander Kitaev,
TMate Software,
http://svnkit.com/ - Java [Sub]Versioning Library!
To unsubscribe, e-mail: dev-unsubscribe_at_subversion.tigris.org
For additional commands, e-mail: dev-help_at_subversion.tigris.org
Received on 2008-05-18 15:47:03 CEST

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.