mirror of
https://https.git.savannah.gnu.org/git/bash.git
synced 2026-11-26 01:58:02 +01:00
complete initial implementation of nofork command substitution (${ command; })
This commit is contained in:
1 parent
c375f8f45f
commit
e44e3d50de
42 files changed
+4387
-3516
No files matched your search
@@ -78,8 +78,7 @@ env -i BASH_FUNC_x%%='() { _; } >_[${ $() }] { id; }' ${THIS_SH} -c : 2>/dev/nul
|
||||
env BASH_FUNC_x%%=$'() { _;}>_[$($())]\n{ echo vuln;}' ${THIS_SH} -c : 2>/dev/null
|
||||
eval 'x() { _;}>_[$($())] { echo vuln;}' 2>/dev/null
|
||||
|
||||
echo this will fail now that '${ ' has syntactic meaning
|
||||
|
||||
# this fails looking for closing `}' now that `${ ' has syntactic meaning
|
||||
eval 'foo() { _; } >_[${ $() }] ;{ echo eval ok; }'
|
||||
|
||||
# other tests fixed in bash43-030 concerning function name transformation
|
||||
|
||||
Reference in new issue
Block a user