bug-bash
[Top][All Lists]
Advanced

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

Segmentation fault from running fc on empty history list


From: Sibo Dong
Subject: Segmentation fault from running fc on empty history list
Date: Tue, 15 Jun 2021 19:50:38 +0000
User-agent: Evolution 3.40.2

Hello,

Running the fc builtin on an empty history list results in a
segmentation fault from bash.

Additional info:

* Operating system: Arch Linux
* Architecture: x86_64
* bash version: 5.1.8(1)-release

Steps to reproduce:

 $ bash --noprofile --norc
 $ HISTCONTROL=ignorespace
 $ history -c
 $  fc
 Segmentation fault (core dumped)

-- 
Sibo Dong <sibo.dong@outlook.com>

reply via email to

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