Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
cd: validate $OLDPWD (Solaris patch 185-Bug17714341)
This change was pulled in from: https://raw.githubusercontent.com/oracle/solaris-userland/master/components/ksh93/patches/185-Bug17714341.patch No public information about the reasons for this change is available, but it seems reasonable to trust that the Solaris people found a legitimate need for it. src/cmd/ksh93/bltins/cd_pwd.c: b_cd(): - When determining the old PWD before 'cd', do not trust shp->pwd but get and validate the current PWD using path_pwd().
- Loading branch information