subversion-users mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Shmuel Hanoch <shm...@infinitylabs.co.il>
Subject a little bug when checkout invalid url
Date Wed, 27 Sep 2017 15:22:09 GMT
Hi,

When I (accidently) tried to checkout some repository from a wrong url
(with ":" instead of a "@"), the subversion process crushed on assertion.
It's easy to reproduce on my machine, for example:

svn co svn+ssh://a:l
svn:
/build/subversion-8E3yhQ/subversion-1.9.3/subversion/libsvn_subr/dirent_uri.c:1339:
svn_uri_basename: Assertion `svn_uri_is_canonical(uri, NULL)' failed.
zsh: abort (core dumped)  svn co svn+ssh://a:l

Although this is an "illegal" url, there probably should be some error
handling instead of an assertion...

Thanks,

Shmuel Hanoch

Mime
View raw message