On Fri, Apr 25, 2025, 16:08 Александр Ушаков <[email protected]> wrote:
>
> I encountered an issue in Bash and would like to report it. crash2.txt is
> attached to the email.
>
> Steps to reproduce
>
> $ CC=clang-19 CFLAGS="-fsanitize=address -g -O0" ./configure
> --without-bash-malloc
> $ make
> $ cat crash2.txt | ./bash
This can still be reproduced after the fix pushed today.
Somewhat simplified version:
./bash -n <<< \
$'x[$(() #\'\n$(#\'\n)$(x[$(() #\'\n$(<<EOF\n\'\nEOFcase x in x)x=(]\n)]'
ERROR: AddressSanitizer: SEGV on unknown address 0x0000ffffffff