[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: Bash security issue
From: |
Nick Bowler |
Subject: |
Re: Bash security issue |
Date: |
Fri, 26 Sep 2014 10:45:05 -0400 |
User-agent: |
Mutt/1.5.22 (2013-10-16) |
On 2014-09-25 15:08 -0700, Linda Walsh wrote:
> Eric Blake wrote:
> > Where I'm coming from is that in portable shell programming, you _can't_
> > assign a value to f()=... The fact that portable programs are now
> > slammed with the notion that some values cannot be portably assigned
> > to a variable...
> ---
> slammed? It's not like this is new...
[...]
> As other have said:
>
> «Geir Hauge wrote: Bash has had this feature since "forever"»
>
> «Pierre Gaston wrote: How many instance have you found since the
> introduction of this feature more than 20 years ago?»
Since I don't use bash it's not surprising that I've never noticed any
problem.
But I try to write scripts that are portable to bash, because I know
that many people do use it. What I learned from this is that bog-
standard assignments like this:
foo=$1; export foo
are not portable to bash, and may fail to work correctly depending on
the user's input.
Cheers,
--
Nick Bowler, Elliptic Technologies (http://www.elliptictech.com/)
- Re: Bash security issue, (continued)
- Re: Bash security issue, lolilolicon, 2014/09/26
- Re: Bash security issue, Zack Weinberg, 2014/09/26
- Re: Bash security issue, Eric Blake, 2014/09/26
- Re: Bash security issue, Steve Simmons, 2014/09/26
- Re: Bash security issue, Greg Wooledge, 2014/09/26
- Re: Bash security issue, Paul Smith, 2014/09/26
- Re: Bash security issue, Chet Ramey, 2014/09/27
- Re: Bash security issue, Eric Blake, 2014/09/27
- Re: Bash security issue, Steve Simmons, 2014/09/27
- Re: Bash security issue, Zack Weinberg, 2014/09/26
- Re: Bash security issue,
Nick Bowler <=
- Re: Bash security issue, Eric Blake, 2014/09/26
- Re: Bash security issue, Nick Bowler, 2014/09/26
- Re: Bash security issue, Linda Walsh, 2014/09/26
- Re: Bash security issue, Eric Blake, 2014/09/26
- Re: Bash security issue, Linda Walsh, 2014/09/27
- Re: Bash security issue, Andreas Schwab, 2014/09/26