You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@subversion.apache.org by "Sebb (Jira)" <ji...@apache.org> on 2023/04/19 23:26:00 UTC
[jira] [Created] (SVN-4914) svn client crashes with assert instead of reporting an error
Sebb created SVN-4914:
-------------------------
Summary: svn client crashes with assert instead of reporting an error
Key: SVN-4914
URL: https://issues.apache.org/jira/browse/SVN-4914
Project: Subversion
Issue Type: Bug
Components: svn++
Affects Versions: 1.13.0
Environment: svn, version 1.13.0 (r1867053)
compiled May 12 2022, 20:47:08 on x86_64-pc-linux-gnu
Reporter: Sebb
I've seen some crashes in SVN where the target does not have the expected type.
For example:
$ svn info https://www.apache.org/foundation/records/990-2016.pdf
svn: E235000: In file
'/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_client/util.c'
line 96: assertion failed
(svn_uri__is_ancestor(pathrev->repos_root_url, url))
Aborted (core dumped)
$ svn pl -v https://dist.apache.org/repos/dist/dev/whimsy/test.txt
Properties on 'https://dist.apache.org/repos/dist/dev/whimsy/test.txt':
svn:eol-style
native
$ svn ps svn:mime-type text/plain
https://dist.apache.org/repos/dist/dev/whimsy/test.txt
svn: E235000: In file
'/build/subversion-owKwd0/subversion-1.13.0/subversion/libsvn_subr/dirent_uri.c'
line 1634: assertion failed (! svn_path_is_url(relative))
Aborted (core dumped)
$ svn --version
svn, version 1.13.0 (r1867053)
compiled May 12 2022, 20:47:08 on x86_64-pc-linux-gnu
Whilst these are invalid usages, I don't believe they should crash
with an assertion.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)