diff options
author | brian m. carlson <sandals@crustytoothpaste.net> | 2014-03-15 18:56:52 +0000 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2014-03-17 11:38:41 -0700 |
commit | fb8a4e8079ab8fc37e9cde32957c35637280ab8f (patch) | |
tree | 12553ebd139bfeeffcd746676afbc594c8837b25 /t/t4052-stat-output.sh | |
parent | builtin/mv: fix out of bounds write (diff) | |
download | tgif-fb8a4e8079ab8fc37e9cde32957c35637280ab8f.tar.xz |
mv: prevent mismatched data when ignoring errors.
We shrink the source and destination arrays, but not the modes or
submodule_gitfile arrays, resulting in potentially mismatched data. Shrink
all the arrays at the same time to prevent this. Add tests to ensure the
problem does not recur.
Signed-off-by: brian m. carlson <sandals@crustytoothpaste.net>
Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 't/t4052-stat-output.sh')
0 files changed, 0 insertions, 0 deletions