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


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

Re: cannot declare local variables if they're readonly

Started byChet Ramey <chet.ramey@case.edu>
First post2015-07-23 09:05 -0400
Last post2015-07-23 09:05 -0400
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: cannot declare local variables if they're readonly Chet Ramey <chet.ramey@case.edu> - 2015-07-23 09:05 -0400

#11256 — Re: cannot declare local variables if they're readonly

FromChet Ramey <chet.ramey@case.edu>
Date2015-07-23 09:05 -0400
SubjectRe: cannot declare local variables if they're readonly
Message-ID<mailman.7298.1437656729.904.bug-bash@gnu.org>
On 7/22/15 7:12 PM, isabella parakiss wrote:
> From variables.c
> 
>                                        The test against old_var's context
>      level is to disallow local copies of readonly global variables (since I
>      believe that this could be a security hole).
> 
> Can you please explain how that can be a security hole?

http://lists.gnu.org/archive/html/bug-bash/2011-02/msg00194.html
http://lists.gnu.org/archive/html/bug-bash/2012-04/msg00099.html

-- 
``The lyf so short, the craft so long to lerne.'' - Chaucer
		 ``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, ITS, CWRU    chet@case.edu    http://cnswww.cns.cwru.edu/~chet/

[toc] | [standalone]


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


csiph-web