security/82: VCS_Info: Fix typo in hook_com[base-name_orig] assignment

Tweaked per discussion in security/90, security/91
zsh-5.8-patches
Marc Cornellà 2 years ago committed by dana
parent bdc4d70a7e
commit b34d33e3b3

@ -1,5 +1,9 @@
2022-01-27 dana <dana@dana.is>
* Marc Cornellà: security/82 (tweaked):
Functions/VCS_Info/VCS_INFO_formats: Fix typo in
hook_com[base-name_orig] assignment
* CVE-2021-45444: NEWS, README: Document preceding two changes
* Marc Cornellà: security/89:

@ -28,7 +28,7 @@ hook_com=(
vcs_orig "${vcs}"
)
hook_com[base-name]="${${hook_com[base]}:t}"
hook_com[base-name_orig]="${hook_com[base_name]}"
hook_com[base-name_orig]="${hook_com[base-name]}"
hook_com[subdir]="$(VCS_INFO_reposub ${hook_com[base]})"
hook_com[subdir_orig]="${hook_com[subdir]}"

Loading…
Cancel
Save