On 3/23/25 7:37 PM, Emanuele Torre wrote:
If you run a simple command that runs something (not just assignments)
and contains an assignment word with ${|;} that is preceeded by at least
one other assignment word, bash segfaults.
Thanks for the report. The fix was a simple matter of swapping two
If you run a simple command that runs something (not just assignments)
and contains an assignment word with ${|;} that is preceeded by at least
one other assignment word, bash segfaults.
Reproducible with a= b=${|:;} :
$ gdb --args ./bash -c 'a= b=${|:;} :'
Reading symbols from ./bash...
(gdb)