diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-06 12:09:55 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2009-04-06 12:09:55 +0000 |
commit | d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f (patch) | |
tree | 57c315d94b073b3a97164e93297307e493fd85d4 | |
parent | bfbc971f9f96861abd80b977fb86e2791541bea8 (diff) | |
download | busybox-w32-d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f.tar.gz busybox-w32-d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f.tar.bz2 busybox-w32-d0b4a8c285c6fd79b397dd22131ef3a66d8f3d7f.zip |
hush: add <> and () as "safe" arith chars
-rw-r--r-- | shell/hush.c | 2 |
1 files changed, 1 insertions, 1 deletions
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) | |||
1791 | } | 1791 | } |
1792 | if (isdigit(c)) | 1792 | if (isdigit(c)) |
1793 | continue; | 1793 | continue; |
1794 | if (strchr(" \t+-*/%_", c) != NULL) | 1794 | if (strchr(" \t+-*/%<>()_", c) != NULL) |
1795 | continue; | 1795 | continue; |
1796 | c |= 0x20; /* tolower */ | 1796 | c |= 0x20; /* tolower */ |
1797 | if (c >= 'a' && c <= 'z') | 1797 | if (c >= 'a' && c <= 'z') |