Blame SOURCES/subversion-1.10.2-CVE-2020-17525.patch
|
|
62cf80 |
|
|
|
62cf80 |
https://bugzilla.redhat.com/show_bug.cgi?id=1922303
|
|
|
62cf80 |
https://github.com/apache/subversion/commit/c83d9e5db564bdbbd91a7eb1c9399f66f481361c
|
|
|
62cf80 |
|
|
|
62cf80 |
--- a/subversion/libsvn_repos/config_file.c
|
|
|
62cf80 |
+++ b/subversion/libsvn_repos/config_file.c
|
|
|
62cf80 |
@@ -237,6 +237,10 @@ get_repos_config(svn_stream_t **stream,
|
|
|
62cf80 |
{
|
|
|
62cf80 |
/* Search for a repository in the full path. */
|
|
|
62cf80 |
repos_root_dirent = svn_repos_find_root_path(dirent, scratch_pool);
|
|
|
62cf80 |
+ if (repos_root_dirent == NULL)
|
|
|
62cf80 |
+ return svn_error_trace(handle_missing_file(stream, checksum, access,
|
|
|
62cf80 |
+ url, must_exist,
|
|
|
62cf80 |
+ svn_node_none));
|
|
|
62cf80 |
|
|
|
62cf80 |
/* Attempt to open a repository at repos_root_dirent. */
|
|
|
62cf80 |
SVN_ERR(svn_repos_open3(&access->repos, repos_root_dirent, NULL,
|