diff options
author | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2021-07-19 09:13:03 +0900 |
---|---|---|
committer | Jun-ichi Takimoto <takimoto-j@kba.biglobe.ne.jp> | 2021-07-19 09:13:03 +0900 |
commit | 9b3a2924101c4e17dbb9c0b8745dc4eb9cdca910 (patch) | |
tree | 3f4d761057c404c135d6a3fbb110409834c7e48c /Test/D04parameter.ztst | |
parent | 6e10067ffd3d2ede3e0a59c36e03d00cee5d9ad1 (diff) | |
download | zsh-9b3a2924101c4e17dbb9c0b8745dc4eb9cdca910.tar.gz zsh-9b3a2924101c4e17dbb9c0b8745dc4eb9cdca910.tar.xz zsh-9b3a2924101c4e17dbb9c0b8745dc4eb9cdca910.zip |
49166: fix coredump in ${name:offset:length} with ill-formatted length
Diffstat (limited to 'Test/D04parameter.ztst')
-rw-r--r-- | Test/D04parameter.ztst | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/Test/D04parameter.ztst b/Test/D04parameter.ztst index 05bb61bdc..b6b1f2e33 100644 --- a/Test/D04parameter.ztst +++ b/Test/D04parameter.ztst @@ -2664,10 +2664,9 @@ F:behavior, see http://austingroupbugs.net/view.php?id=888 >3: pw >4: pw - # Using a subshell because it segfaults. - ("${: :${{{\"{{lorem ipsum dolor sit amet}}") --f:regression test for workers/45843#1 -?(eval):1: bad substitution + : "${foo:0:${\"}}" +1:broken length in ${name:offset:length} (workers/45843#1) +?(eval):1: unrecognized modifier `$' $ZTST_testdir/../Src/zsh -fc $'$\\\n(' 1:regression test for workers/45843#2: escaped newline in command substitution start token |