Subject: Re: [ast-developers] ksh restricted mode bugs revisited
--------
> Most of the bugs I reported were neatly fixed. However, one has remained all
> the
> way through to the current Version M 93t 2008-11-04. It's still possible to
> change the value of ENV through a typeset assignment in a function while in
> restricted mode. The following examples I gave in my initial report still
> violate restrictions when run in restricted mode:
>
> # Attempt to assign a new value to ENV via typeset in a function in
> # restricted mode.
> $ function demoENV
> > { print Before typeset ENV = $ENV
> > typeset ENV=.kshrc
> > print $?
> > print After typeset ENV = $ENV
> > print 'And from set: \c'; set | grep ^ENV=
> > }
>
>
Fixed for the next update.
David Korn
[email protected]
_______________________________________________
ast-developers mailing list
[email protected]
https://mailman.research.att.com/mailman/listinfo/ast-developers