zsh-workers
 help / color / mirror / code / Atom feed
From: YAMAGUCHI Takanori <t-yama@iij.ad.jp>
To: Bart Schaefer <schaefer@brasslantern.com>
Cc: "zsh-workers@zsh.org" <zsh-workers@zsh.org>
Subject: Re: arithmetic expression from outside
Date: Fri, 6 Sep 2019 14:48:22 +0900	[thread overview]
Message-ID: <23184936-2cbb-5228-7359-ab5e88c61942@iij.ad.jp> (raw)
In-Reply-To: <CAH+w=7a_Av6w58cMXOw8CoOunAAfr--xnWHis8i6woHDphwH6A@mail.gmail.com>

This behaviour looks to be unsafe.
I wish it had a feature to disable the recursive evaluation
of an arithmetic expression. Or at least zshmisc manpage
should be added the warning not to use unchecked input
in an arithmetic expression context.

  parent reply	other threads:[~2019-09-06  5:49 UTC|newest]

Thread overview: 5+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2019-09-05  8:49 YAMAGUCHI Takanori
2019-09-05 18:22 ` Bart Schaefer
2019-09-05 19:49   ` Stephane Chazelas
2019-09-06  5:48   ` YAMAGUCHI Takanori [this message]
2019-09-07 12:01   ` Daniel Shahaf

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=23184936-2cbb-5228-7359-ab5e88c61942@iij.ad.jp \
    --to=t-yama@iij.ad.jp \
    --cc=schaefer@brasslantern.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).