diff options
author | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-14 14:23:45 +0200 |
---|---|---|
committer | Denys Vlasenko <vda.linux@googlemail.com> | 2017-08-14 14:23:45 +0200 |
commit | 452cc1d9bdd7848e960919916de7c405512cad05 (patch) | |
tree | 4608e49484ea7438ef17979d5de2f7c5edb3838b /networking/hostname.c | |
parent | 647d8afe869b40c617d2a327b51947cee07b58f3 (diff) | |
download | busybox-452cc1d9bdd7848e960919916de7c405512cad05.tar.gz |
ash: [PARSER] Catch variable length expansions on non-existant specials
Upstream commit:
Date: Thu, 30 Oct 2014 11:53:35 +0800
[PARSER] Catch variable length expansions on non-existant specials
Currently we only check special variable names that follow directly
after $ or ${. So errors such as ${#&} are not caught. This patch
fixes that by moving the is_special check to just before we print out
the special variable name.
Signed-off-by: Herbert Xu <herbert@gondor.apana.org.au>
function old new delta
readtoken1 2630 2635 +5
Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>
Diffstat (limited to 'networking/hostname.c')
0 files changed, 0 insertions, 0 deletions