Checkout
Branko ─îibej
committed
on 26 Jul 15
Fix CVE-2015-3187: Adjust when svn_repos_trace_node_locations() makes the authz checks.

* subversion/libsvn_repos/rev_hunt.c
(svn_repos_t… Show more
Fix CVE-2015-3187: Adjust when svn_repos_trace_node_locations() makes the authz checks.

* subversion/libsvn_repos/rev_hunt.c

 (svn_repos_trace_node_locations): Check authz later.

* subversion/tests/libsvn_repos/repos-test.c

 (struct authz_read_baton_t): New.

 (mkdir_delete_copy, authz_read_func, verify_locations,

  set_expected): New helpers.

 (trace_node_locations_authz): New test.

 (test_funcs): Add new test.

* subversion/tests/cmdline/authz_tests.py

 (authz_log_and_tracing_test): Expect different error for cat, and

  different behaviour for diff.

Show less