mirror of https://github.com/mirror/busybox.git
ash: error out on ${#1#}, ${#$11}, ${#11#}
Signed-off-by: Cristian Ionescu-Idbohrn <cristian.ionescu-idbohrn@axis.com> Signed-off-by: Denys Vlasenko <vda.linux@googlemail.com>1_16_stable
parent
4d8873f997
commit
301f5ecb8d
|
@ -11291,6 +11291,8 @@ parsesub: {
|
|||
badsub:
|
||||
raise_error_syntax("bad substitution");
|
||||
}
|
||||
if (c != '}' && subtype == VSLENGTH)
|
||||
goto badsub;
|
||||
|
||||
STPUTC('=', out);
|
||||
flags = 0;
|
||||
|
|
Loading…
Reference in New Issue