From: Denis Vlasenko Date: Mon, 6 Apr 2009 12:09:55 +0000 (-0000) Subject: hush: add <> and () as "safe" arith chars X-Git-Tag: 1_14_0~88 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f;p=oweals%2Fbusybox.git hush: add <> and () as "safe" arith chars --- diff --git a/shell/hush.c b/shell/hush.c index bad2c8044..3aae7d7c1 100644 --- a/shell/hush.c +++ b/shell/hush.c @@ -1791,7 +1791,7 @@ static int expand_vars_to_list(o_string *output, int n, char *arg, char or_mask) } if (isdigit(c)) continue; - if (strchr(" \t+-*/%_", c) != NULL) + if (strchr(" \t+-*/%<>()_", c) != NULL) continue; c |= 0x20; /* tolower */ if (c >= 'a' && c <= 'z')