From: Joao Paulo <joaolrpaulo@gmail.com>
To: Mikael Magnusson <mikachu@gmail.com>
Cc: zsh workers <zsh-workers@zsh.org>
Subject: Re: Lack of sanitisation of I/O in pushd/popd
Date: Mon, 19 Feb 2018 18:33:59 +0000 [thread overview]
Message-ID: <CAOr4F+OkmUDciVyemg+QvfidO3NtdA451jyq39cTa-cuNkxqYw@mail.gmail.com> (raw)
In-Reply-To: <CAHYJk3Q5tUEHLqisepYksVxFJ_tj_2nDXRGhvMbM53uO6-2pxA@mail.gmail.com>
[-- Attachment #1: Type: text/plain, Size: 513 bytes --]
Holy... My bad, thanks for the help.
On Mon, Feb 19, 2018, 18:31 Mikael Magnusson <mikachu@gmail.com> wrote:
> On Mon, Feb 19, 2018 at 7:22 PM, Joao Paulo <joaolrpaulo@gmail.com> wrote:
> > Thanks for the tip, but the information of $dirstack is the same as the
> > `popd -n` so, it is not sanitizing the output as well.
> >
> > I think the problem is with pushd not validating if the current folder as
> > some space in the middle.
>
> Read the section about arrays in the manpage.
>
> --
> Mikael Magnusson
>
prev parent reply other threads:[~2018-02-19 18:34 UTC|newest]
Thread overview: 5+ messages / expand[flat|nested] mbox.gz Atom feed top
2018-02-19 16:34 Joao Paulo
2018-02-19 17:13 ` Leah Neukirchen
2018-02-19 17:23 ` Mikael Magnusson
[not found] ` <CAOr4F+Phd=gFZten4-21OMv=khuKObreW4xxHyR85VgKEkdKAw@mail.gmail.com>
2018-02-19 18:31 ` Mikael Magnusson
2018-02-19 18:33 ` Joao Paulo [this message]
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=CAOr4F+OkmUDciVyemg+QvfidO3NtdA451jyq39cTa-cuNkxqYw@mail.gmail.com \
--to=joaolrpaulo@gmail.com \
--cc=mikachu@gmail.com \
--cc=zsh-workers@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).