On 4/12/22 2:45 PM, Sergio Fuentes wrote:
> Hello,
> 
> Please, run the following 3 commands to reproduce the bug:
> 
> echo '. ./poc.sh' > poc.sh
> chmod +x poc.sh
> bash -c './poc.sh'

You've created infinite recursion using `.' and run yourself out of stack
space. This isn't a bug.

You can set the SOURCENEST_MAX definition in config-top.h if you want a
bash that caps this recursion.

-- 
``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/

Reply via email to