mirror of
https://github.com/sheumann/hush.git
synced 2024-08-20 04:28:57 +00:00
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>
This commit is contained in:
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
Block a user