Fixed in ksh 2014-09-29.

                Terrence Doyle

On 5/24/15 5:02 PM, Martijn Dekker wrote:
> Hi,
> 
> I'm joining to post a bug report.
> 
> The following makes ksh segfault reliably. The --version output is
> "93u+ 2012-08-01"; I'm using the latest Mac OS X "2012-08-06 BASE"
> static executable release downloaded directly from AT&T.
> 
>       testfn() {
>               unset -f testfn
>               echo test
>       }
>       testfn
> 
> Got: segfault.
> 
> Expected: should output "test". I would expect an unset function to
> continue running until it terminates, as other shells (including earlier
> versions of ksh93) do. In any case it should not be possible to make the
> shell segfault.
> 
> Hope this helps,
> 
> Martijn Dekker (Groningen, Netherlands)
> _______________________________________________
> ast-developers mailing list
> ast-developers@lists.research.att.com
> http://lists.research.att.com/mailman/listinfo/ast-developers
_______________________________________________
ast-developers mailing list
ast-developers@lists.research.att.com
http://lists.research.att.com/mailman/listinfo/ast-developers

Reply via email to