Groups | Search | Server Info | Keyboard shortcuts | Login | Register [http] [https] [nntp] [nntps]


Groups > gnu.bash.bug > #14898 > unrolled thread

Re: temp env allows variables that look like array subscripts

Started byGrisha Levit <grishalevit@gmail.com>
First post2018-12-08 23:45 -0500
Last post2018-12-08 23:45 -0500
Articles 1 — 1 participant

Back to article view | Back to gnu.bash.bug

This discussion starts older than the indexed window; earlier articles aren't shown. The article labeled Started by below is the oldest one visible, not the original post.


Contents

  Re: temp env allows variables that look like array subscripts Grisha Levit <grishalevit@gmail.com> - 2018-12-08 23:45 -0500

#14898 — Re: temp env allows variables that look like array subscripts

FromGrisha Levit <grishalevit@gmail.com>
Date2018-12-08 23:45 -0500
SubjectRe: temp env allows variables that look like array subscripts
Message-ID<mailman.5420.1544330716.1284.bug-bash@gnu.org>
FWIW, namerefs in the temporary environment bypass the implemented checks:

    $ declare -n ref=var[0]
    $ ref=X printenv 'var[0]'
    X

[toc] | [standalone]


Back to top | Article view | gnu.bash.bug


csiph-web