nameref RHS not syntax checked

Bug #1277691 reported by Thorsten Glaser on 2014-02-07
This bug affects 1 person
Affects Status Importance Assigned to Milestone

Bug Description

ksh93 forbids “nameref foo=bar=baz” and “nameref x=y:2:3”, mksh does not. Since nameref RHS is directly used for symbol table lookup (after array index split), the former leads to, ahem, interesting effects upon “export foo”, and the latter does not even have the desiref effect but creates a variable called “y:2:3” which one can even export (although not import)…

Changed in mksh:
importance: Undecided → Low
Thorsten Glaser (mirabilos) wrote :

Fixed in CVS: MIRBSD KSH R49 2014/05/27

Changed in mksh:
status: New → Fix Committed
Changed in mksh:
status: Fix Committed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers