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

libsvn_subr/dirent_uri.c dumps core when url contains a space

From: rupert.thurner <rupert.thurner_at_gmail.com>
Date: Sun, 30 Oct 2011 22:09:52 -0700 (PDT)

on solaris the perl bindings dump a core when an url contains a space,
see https://www.opencsw.org/mantis/view.php?id=4854. an excerpt:

The SVN::Ra bindings core dump with the following error:

$ perl ./test.pl
svn: E235000: In file 'subversion/libsvn_subr/dirent_uri.c' line 2291:
assertion failed (svn_uri_is_canonical(url, pool))
Abort (core dumped)

The content of test.pl:

require SVN::Ra;

$s = SVN::Ra->new('file:///home/bwalton/opencsw/git/trunk/work/
solaris9-sparc/build-isa-sparcv8/git-1.7.7.1/t/trash [^]
directory.t9134-git-svn-ignore-paths/svnrepo');
Received on 2011-10-31 06:10:27 CET

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