TortoiseSVN dump
r1702198 | rhuijben | 2015-09-10 09:42:58 +0000 (Thu, 10 Sep 2015)
Resolve an obscure segfault when updating inside an already conflicted tree.
Found by: TortoiseSVN dump
ivan
(Reproduction recipe and patch by me)
* subversion/libsvn_wc/update_editor.c
(add_directory,
add_file): Don't calculate new repository paths inside a skipped tree.
* subversion/tests/cmdline/update_tests.py
(update_add_conflicted_deep): New test.
(test_list): Add test.
r1702237 | rhuijben | 2015-09-10 12:37:23 +0000 (Thu, 10 Sep 2015)
Resolve a possible segfault (caused by using an uninitialized variable)
on reverting the root of a move but not its descendants.
Found by: TortoiseSVN dump
ivan
(Reproduction recipe and patch by me)
You probably need valgrind or some debug diagnostics (such as used by the
windows maintainer build) to find the problem.
* subversion/libsvn_wc/wc_db.c
(revert_maybe_raise_moved_away): New function, extracted from...
(op_revert_txn): ... here. Reduce scope of some variables.
* subversion/tests/cmdline/revert_tests.py
(moved_dir_partial): New function.
(test_list): Add revert_upwards.
r1702247 | rhuijben | 2015-09-10 13:37:19 +0000 (Thu, 10 Sep 2015)
Resolve a segfault on an incoming delete of an ancestor of a switched path
in a tree with other changes.
Found by: TortoiseSVN dump
ivan
(Reproduction recipe and patch by me)
* subversion/libsvn_wc/wc_db.c
(make_copy_txn): Properly detect a switched tree in all cases.
* subversion/tests/cmdline/update_tests.py
(update_delete_switched): New function.
(test_list): Add update_delete_switched.
r1749887 | ivan | 2016-06-23 13:19:33 +0000 (Thu, 23 Jun 2016)
Raise a malfunction instead of segfaulting due to a null pointer dereference
with a corrupted wc.db
Found by: TortoiseSVN dump
* subversion/libsvn_wc/wc_db.c
(db_read_repos_info): Raise malfunction if WORK_DEL_RELPATH and
BASE_DEL_RELPATH are null. We have the same check in get_info_for_copy().