# HG changeset patch # User Rohith Ramesh - Sun Microsystems - Bangalore India # Date 1355294173 28800 # Node ID f86b9f7aa5e7c40c68d152a09b6e8574a295fbdc # Parent 29b8fb943842c18833b5c3a9d2b247c94e36eb45 15765108 SUNBT7128313 ksh93 executes subshell with bad path to command diff -r 29b8fb943842 -r f86b9f7aa5e7 components/ksh93/Makefile --- a/components/ksh93/Makefile Mon Dec 10 23:00:56 2012 -0800 +++ b/components/ksh93/Makefile Tue Dec 11 22:36:13 2012 -0800 @@ -24,7 +24,7 @@ include ../../make-rules/shared-macros.mk -COMPONENT_BUGDB= utility/ksh93 +COMPONENT_BUGDB= utility/ksh93 COMPONENT_PROJECT_URL= http://www2.research.att.com/sw/download/ @@ -76,7 +76,8 @@ MAP_TYPE_64_Bits.patch CR7167466.patch \ CR7168611.patch CR7178717.patch \ CR7175995.patch \ - CR7186440_ksh93_disable_predictive_editing.patch + CR7186440_ksh93_disable_predictive_editing.patch \ + CR7128313.patch # Fixup HOSTTYPE to match uname output and bits HOSTTYPE32=sol11.$(shell uname -p) diff -r 29b8fb943842 -r f86b9f7aa5e7 components/ksh93/patches/CR7128313.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ksh93/patches/CR7128313.patch Tue Dec 11 22:36:13 2012 -0800 @@ -0,0 +1,10 @@ +--- a/src/cmd/ksh93/sh/path.c ++++ b/src/cmd/ksh93/sh/path.c +@@ -1761,6 +1761,7 @@ + char *ptr; + if(!pp) + return(NULL); ++ pp->shp->last_table = 0; + path_nextcomp(pp->shp,pp,nv_name(np),pp); + ptr = stakfreeze(0); + return(ptr+PATH_OFFSET);