# HG changeset patch # User Rohith Ramesh Bangalore India # Date 1361171855 21600 # Node ID 43014bd244d4bfec328ee012c98e8211fd53aa3a # Parent f5c29a3e8107f3ba7cc4383dec66c22883d8d6d2 15765108 SUNBT7128313 ksh93 executes subshell with bad path to command diff -r f5c29a3e8107 -r 43014bd244d4 components/ksh93/Makefile --- a/components/ksh93/Makefile Sun Feb 17 22:31:47 2013 -0800 +++ b/components/ksh93/Makefile Mon Feb 18 01:17:35 2013 -0600 @@ -18,7 +18,7 @@ # # CDDL HEADER END # -# Copyright (c) 2012, Oracle and/or its affiliates. All rights reserved. +# Copyright (c) 2012, 2013, Oracle and/or its affiliates. All rights reserved. # PARFAIT_BUILD=no @@ -72,7 +72,7 @@ CR7019368.patch CR6729252.patch \ MAP_TYPE_64_Bits.patch CR7167466.patch \ CR7168611.patch CR7178717.patch \ - CR7175995.patch + CR7175995.patch CR7128313.patch # Fixup HOSTTYPE to match uname output and bits HOSTTYPE32=sol11.$(shell uname -p) diff -r f5c29a3e8107 -r 43014bd244d4 components/ksh93/patches/CR7128313.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/components/ksh93/patches/CR7128313.patch Mon Feb 18 01:17:35 2013 -0600 @@ -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);