summaryrefslogtreecommitdiff
path: root/Documentation/git-repack.txt
diff options
context:
space:
mode:
authorLibravatar Junio C Hamano <gitster@pobox.com>2016-01-26 22:50:27 -0800
committerLibravatar Junio C Hamano <gitster@pobox.com>2016-01-27 15:19:03 -0800
commit2e1175d43d05e83fe836e1c8c8e7c25b7ee659ae (patch)
tree05ae2bd23b338bd8db109e77d600e46cce3068f9 /Documentation/git-repack.txt
parentgit: remove an early return from save_env_before_alias() (diff)
downloadtgif-2e1175d43d05e83fe836e1c8c8e7c25b7ee659ae.tar.xz
git: protect against unbalanced calls to {save,restore}_env()
We made sure that save_env_before_alias() does not skip saving the environment when asked to (which led to use-after-free of orig_cwd in restore_env() in the buggy version) with the previous step. Protect against future breakage where somebody adds new callers of these functions in an unbalanced fashion. Signed-off-by: Junio C Hamano <gitster@pobox.com>
Diffstat (limited to 'Documentation/git-repack.txt')
0 files changed, 0 insertions, 0 deletions