diff options
author | Denys Vlasenko | 2023-03-31 21:35:50 +0200 |
---|---|---|
committer | Denys Vlasenko | 2023-03-31 21:35:50 +0200 |
commit | 262a84547798cf795d9748329f2ad251117801cc (patch) | |
tree | 0089681f836926bf9a673040090b1d26f6132c9c /shell/ash.c | |
parent | 098cd7ece44bf7ab7ae38dc00dd574af79a9bad8 (diff) | |
download | busybox-262a84547798cf795d9748329f2ad251117801cc.zip busybox-262a84547798cf795d9748329f2ad251117801cc.tar.gz |
ash: exec: Stricter pathopt parsing - lost chunk
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'shell/ash.c')
-rw-r--r-- | shell/ash.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/shell/ash.c b/shell/ash.c index 40b921b..45e5522 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -2959,7 +2959,7 @@ cdcmd(int argc UNUSED_PARAM, char **argv UNUSED_PARAM) if (!*dest) dest = "."; path = bltinlookup("CDPATH"); - while (p = path, (len = padvance(&path, dest)) >= 0) { + while (p = path, (len = padvance_magic(&path, dest, 0)) >= 0) { c = *p; p = stalloc(len); |