From: Vincent Bernat <bernat@luffy.cx>
To: zsh-users@zsh.org
Subject: CVE-2021-45444 really fixed in 5.8.1?
Date: Sat, 12 Mar 2022 15:39:00 +0100 [thread overview]
Message-ID: <m38rtfutff.fsf@luffy.cx> (raw)
Hey!
Is CVE-2021-45444 really fixed in 5.8.1?
neo% zsh --version
zsh 5.8.1 (x86_64-debian-linux-gnu)
neo% mkdir test1
neo% cd test1
neo% git init
Initialized empty Git repository in /home/bernat/tmp/test1/.git/
neo% git checkout -b branch%1branch
Switched to a new branch 'branch%1branch'
neo% autoload -Uz vcs_info
neo% precmd() { vcs_info }
neo% setopt prompt_subst
neo% PS1='${vcs_info_msg_0_}%# '
(git)-[branchranch]-%
%1 was interpreted while it shouldn't have been?
The provided workaround for older versions work fine.
After applying:
(git)-[branch%1branch]-%
--
Don't stop at one bug.
- The Elements of Programming Style (Kernighan & Plauger)
next reply other threads:[~2022-03-12 14:40 UTC|newest]
Thread overview: 4+ messages / expand[flat|nested] mbox.gz Atom feed top
2022-03-12 14:39 Vincent Bernat [this message]
2022-03-12 22:45 ` dana
2022-03-12 22:58 ` Vincent Bernat
2022-03-13 0:01 ` dana
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=m38rtfutff.fsf@luffy.cx \
--to=bernat@luffy.cx \
--cc=zsh-users@zsh.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
Code repositories for project(s) associated with this public inbox
https://git.vuxu.org/mirror/zsh/
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for NNTP newsgroup(s).