Hello, Please, run the following 3 commands to reproduce the bug:
echo '. ./poc.sh' > poc.sh chmod +x poc.sh bash -c './poc.sh' The backtrace from gdb: gdb /bin/bash core ... Program terminated with signal SIGSEGV, Segmentation fault. #0 0x00005612fcdece65 in yyparse () (gdb) bt #0 0x00005612fcdece65 in yyparse () #1 0x00005612fcde3869 in parse_command () #2 0x00005612fce511fc in parse_and_execute () #3 0x00005612fce50837 in ?? () Best regards and thanks, fs