Details
-
Bug
-
Resolution: Fixed
-
Low
-
None
-
None
-
None
Description
SVNClient.streamFileContent in JavaHL does not canoncialise URLs passed to it. It later calls methods that assert that the URL passed to it is canonicalised.
If the URI is not canonical for any reason (for example, the file name contains a +) then the JVM will core dump because of this:
java: /tmp/subversion-1.7.5/subversion/libsvn_subr/dirent_uri.c:1519: uri_skip_ancestor: Assertion `svn_uri_is_canonical(child_uri, ((void *)0))' failed.
This looks like a bug in the JavaHL bindings. Other methods in the SVNClient interface do not exhibit this behaviour.