diff options
author | Junio C Hamano <gitster@pobox.com> | 2016-01-26 22:50:27 -0800 |
---|---|---|
committer | Junio C Hamano <gitster@pobox.com> | 2016-01-27 15:19:03 -0800 |
commit | 2e1175d43d05e83fe836e1c8c8e7c25b7ee659ae (patch) | |
tree | 05ae2bd23b338bd8db109e77d600e46cce3068f9 /Documentation/git-credential-store.txt | |
parent | git: remove an early return from save_env_before_alias() (diff) | |
download | tgif-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-credential-store.txt')
0 files changed, 0 insertions, 0 deletions