Re: fc can segfault if history is cleared

2023-11-18 Thread Jason Franklin
On Sun, Nov 19, 2023 at 10:31:59AM +0700, Robert Elz wrote: > | $ history -c; fc -0 > | Segmentation fault (core dumped) > | > | Can someone else confirm this? > > Which bash version are you using? > > I just tried that on > GNU bash, version 5.2.21(1)-release (x86_64--netbsd) >

Re: fc can segfault if history is cleared

2023-11-18 Thread Robert Elz
Date:Sat, 18 Nov 2023 21:55:23 -0500 From:Jason Franklin Message-ID: | $ history -c; fc -0 | Segmentation fault (core dumped) | | Can someone else confirm this? Which bash version are you using? I just tried that on GNU bash, version 5.2.21(1)-r

fc can segfault if history is cleared

2023-11-18 Thread Jason Franklin
Greetings: I recall reporting a long time ago that "fc -0" would cause a segfault. It appears that this behavior remains when the history is cleared prior to invoking the "fc -0" command... $ history -c; fc -0 Segmentation fault (core dumped) Can someone else confirm this? Best, -- Jason