On 8/28/21 4:07 AM, Emanuele Torre wrote:
Bash Version: 5.1
Patch Level: 8
Release Status: release
Description:
PS1=\${PS1@P}
makes bash segfault in interactive shells.
a=\${a@P};${a@P}
makes bash segfault also in non-interactive shells.
Yes. If you set up and execute an infinitely recursive expansion, you're
eventually going to run out of stack or data space and crash.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU c...@case.edu http://tiswww.cwru.edu/~chet/