ksh: segfault in read builtin incrementing negative subscript
typeset -a a
integer b=-1
IFS= read -r 'a[++b]' <<<foo
typeset -p a
This seems to be another that’s fixed in v- but I couldn’t find it noted in the changelog.
About this issue
- Original URL
- State: closed
- Created a year ago
- Comments: 16
I could guess the next sentence there. Good find.
Hand testing completed. All good that I can see.