diff options
author | Elijah Newren <newren@gmail.com> | 2020-12-11 09:08:45 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2020-12-14 09:34:50 -0800 |
commit | ac14de13b228285b798ed805812fe20d1bc55eb2 (patch) | |
tree | 2c3543a953c00546177f7705ddd13fe470d8430a /protocol.c | |
parent | t4058: add more tests and documentation for duplicate tree entry handling (diff) | |
download | tgif-ac14de13b228285b798ed805812fe20d1bc55eb2.tar.xz |
t4058: explore duplicate tree entry handling in a bit more detail
While creating the last commit, I found a number of other cases where
git would segfault when faced with trees that have duplicate entries.
None of these segfaults are in the diffcore-rename code (they all occur
in cache-tree and unpack-trees). Further, to my knowledge, no one has
ever been adversely affected by these bugs, and given that it has been
15 years and folks have fixed a few other issues with historical
duplicate entries (as noted in the last commit), I am not sure we will
ever run into anyone having problems with these. So I am not sure these
are worth fixing, but it doesn't hurt to at least document these
failures in the same test file that is concerned with duplicate tree
entries.
Signed-off-by: Elijah Newren <newren@gmail.com>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'protocol.c')
0 files changed, 0 insertions, 0 deletions