bug-bash
[Top][All Lists]
Advanced

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

Re: `verb=(--) declare -ax verb` causes an ENOTSOCK segfault


From: Lawrence Velázquez
Subject: Re: `verb=(--) declare -ax verb` causes an ENOTSOCK segfault
Date: Fri, 16 Jun 2023 10:59:24 -0400
User-agent: Cyrus-JMAP/3.9.0-alpha0-496-g8c46984af0-fm-20230615.001-g8c46984a

On Fri, Jun 16, 2023, at 1:02 AM, Wiley Young wrote:
> Description:
>    `verb=(--) declare -ax verb` causes bash to crash and closes the active
> terminal tab.

The value "(--)" does not seem to be necessary:

% /bin/bash -c 'foo= declare -ax foo'
zsh: segmentation fault  /bin/bash -c 'foo= declare -ax foo'

I am seeing this behavior with bash 3.2.57, so it appears to be
longstanding.

-- 
vq



reply via email to

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