CVSROOT: /cvs Module name: src Changes by: an...@cvs.openbsd.org 2018/07/08 07:18:44
Modified files: bin/ksh : eval.c Log message: Fix a bug related to variable expansion referencing multiple read-only variables; such as positional arguments. Since global() returns a pointer to static storage for read-only variables, the memory pointed to needs to be copied to prevent any subsequent call to global() to override the previously accessed variable. Bug reported by Andreas Kusalananda K??h??ri on bugs@ ok benno@ jca@ tb@