[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Re: bash crashes if TERM is unset and the Delete key is pressed twice
From: |
Chet Ramey |
Subject: |
Re: bash crashes if TERM is unset and the Delete key is pressed twice |
Date: |
Wed, 14 Dec 2022 12:31:39 -0500 |
User-agent: |
Mozilla/5.0 (Macintosh; Intel Mac OS X 10.15; rv:102.0) Gecko/20100101 Thunderbird/102.6.0 |
On 12/13/22 9:00 AM, Emanuele Torre wrote:
This happens since 88d69b4fa224d93ef1d26b80229668397bb6496b .
If bash is started with the TERM variable unset or empty, it will
segfault and crash if you press the Delete key twice (it only happens
for the first prompt, and if you don't press anything before the two
Delete key presses).
I can't reproduce this on macOS, RHEL 7, Fedora 35, or Fedora 37, all
using xterm.
--
``The lyf so short, the craft so long to lerne.'' - Chaucer
``Ars longa, vita brevis'' - Hippocrates
Chet Ramey, UTech, CWRU chet@case.edu http://tiswww.cwru.edu/~chet/