[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
Segfault using HISTTIMEFORMAT
From: |
rens |
Subject: |
Segfault using HISTTIMEFORMAT |
Date: |
Sun, 20 Sep 2015 13:59:10 -0700 (PDT) |
User-agent: |
G2/1.0 |
When using HISTTIMEFORMAT and a timestamp which is out of range bash seems to
segfault. I've tested this with bash version 4.3.30(1)-release
(x86_64-pc-linux-gnu) on Debian 8 stable.
Here is how to reproduce:
* Change (or add) a timestamp in .bash_history to:
#999999999999999999
* Start a new bash shell
* Run the following commands:
export HISTTIMEFORMAT="[%F %T] "
history
When history gets executed bash segfaults.
--
Rens Hordijk
- Segfault using HISTTIMEFORMAT,
rens <=