Zsh Mailing List Archive
Messages sorted by:
Reverse Date,
Date,
Thread,
Author
Re: Lack of sanitisation of I/O in pushd/popd
- X-seq: zsh-workers 42376
- From: Mikael Magnusson <mikachu@xxxxxxxxx>
- To: Joao Paulo <joaolrpaulo@xxxxxxxxx>
- Subject: Re: Lack of sanitisation of I/O in pushd/popd
- Date: Mon, 19 Feb 2018 19:31:05 +0100
- Cc: zsh workers <zsh-workers@xxxxxxx>
- Dkim-signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=gmail.com; s=20161025; h=mime-version:in-reply-to:references:from:date:message-id:subject:to :cc; bh=z8Im869wzxUp5kYYr88fCFDASBeeQWrr1zGxmtvBzRM=; b=kir7oAMa9i2v/kWdbqcGf2+WSe0OOHjNVlb9E9/w4BbBcE0h0AWYbPP7PskJR/O/pG JQesx2ABP2DvFa6ptfxNRDmknBnRbT6b6/RFj2z9is2HXfkRSkqRAaAaIOUYo10bWs4d xqdmZnKoNeChf5ixKbep/iUV+P/eQFrbSFo9hSJh/YpUy9zxZFfxcQRkzAUcEFboB6Rz SCdjiWtHoY6+qu9OeFR/L+nOu54gtn4fdpCGo98PlusgoXh/1nigrvH3HkfgbXKKPZOL knfQh9UzTGXUCcahVDPuV8FozOPMKTvw5KMqos0j8O6ZxWYYVbpH3zpPoVBeO51mY8CJ OA3w==
- In-reply-to: <CAOr4F+Phd=gFZten4-21OMv=khuKObreW4xxHyR85VgKEkdKAw@mail.gmail.com>
- List-help: <mailto:zsh-workers-help@zsh.org>
- List-id: Zsh Workers List <zsh-workers.zsh.org>
- List-post: <mailto:zsh-workers@zsh.org>
- List-unsubscribe: <mailto:zsh-workers-unsubscribe@zsh.org>
- Mailing-list: contact zsh-workers-help@xxxxxxx; run by ezmlm
- References: <CAOr4F+P5ZVv4OiiodBkY2m3bxfNFTvX3ow2AUbuYxfU9CPYgUQ@mail.gmail.com> <CAHYJk3QVZuqjt5RKEDrFkOA221DMcteOpO1Z7o=VZVbw2MA3sw@mail.gmail.com> <CAOr4F+Phd=gFZten4-21OMv=khuKObreW4xxHyR85VgKEkdKAw@mail.gmail.com>
On Mon, Feb 19, 2018 at 7:22 PM, Joao Paulo <joaolrpaulo@xxxxxxxxx> 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
Messages sorted by:
Reverse Date,
Date,
Thread,
Author