[git commit] ash: exec: Stricter pathopt parsing - lost chunk
Denys Vlasenko
vda.linux at googlemail.com
Fri Mar 31 19:35:50 UTC 2023
commit: https://git.busybox.net/busybox/commit/?id=262a84547798cf795d9748329f2ad251117801cc
branch: https://git.busybox.net/busybox/commit/?id=refs/heads/master
Signed-off-by: Denys Vlasenko <vda.linux at googlemail.com>
---
shell/ash.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/shell/ash.c b/shell/ash.c
index 40b921be1..45e552217 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);
More information about the busybox-cvs
mailing list