bug-bash
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

Re: bash is crashing with command "$(;"


From: Mike Jonkmans
Subject: Re: bash is crashing with command "$(;"
Date: Sat, 18 Oct 2025 22:44:29 +0200

On Fri, Oct 17, 2025 at 04:15:20PM -0400, Chet Ramey wrote:
> On 10/17/25 2:01 AM, Casey Connor wrote:
> 
> > Bash Version: 5.2
> > Patch Level: 15
> > Release Status: release
> > 
> > Description:
> > 
> > If I open a new terminal and enter the (obviously malformed) command
> > "$(;" (without quotes) I get a bash crash about 90% of the time.
> 
> Thanks for the report. I can't reproduce this using bash-5.3 on RHEL. I
> don't have a Debian system handy to test on.

On latest devel, using ubuntu 24.04, bash --noprofile --norc, I get:
bash-5.3$ $(;
bash: syntax error near unexpected token `;' while looking for matching `)'
bash: DEBUG warning: current_token (10) != shell_eof_token ()
bash: syntax error

No crashes, but the message is mb pointing to something.

-- 
Regards, Mike Jonkmans



reply via email to

[Prev in Thread] Current Thread [Next in Thread]