From 0b31397d0da6d009b53bb22f359bc018d1825bfa Mon Sep 17 00:00:00 2001 From: vda Date: Wed, 10 Jan 2007 00:24:50 +0000 Subject: execute "safe applets" exev if not standalone shell (patch by "Eric Spakman" ) git-svn-id: svn://busybox.net/trunk/busybox@17216 69ca8d6d-28ef-0310-b511-8ec308f3f277 --- shell/ash.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'shell') diff --git a/shell/ash.c b/shell/ash.c index 6d96bce5a..10217fe2f 100644 --- a/shell/ash.c +++ b/shell/ash.c @@ -3717,7 +3717,7 @@ shellexec(char **argv, const char *path, int idx) clearredir(1); envp = environment(); - if (strchr(argv[0], '/') + if (strchr(argv[0], '/') || is_safe_applet(argv[0]) #ifdef CONFIG_FEATURE_SH_STANDALONE_SHELL || find_applet_by_name(argv[0]) #endif -- cgit v1.2.3-55-g6feb