On Mär 01 2022, Chet Ramey wrote:
> Thanks. I can easily fix the pointer aliasing issue, but it is not going to
> be identical to incremental search.
I'm still getting crashes due to double free.
bash-5.2$ history
1 echo 1
2 history
Type e, <history-search-backward>, <end-of-history>,
<beginning-of-line>, <kill-line>.
bash-5.2$ history
1* echo 1
2 history
3 history
Type <previous-history>*2 (move to line 1), <accept-line> -> crash
--
Andreas Schwab, [email protected]
GPG Key fingerprint = 7578 EB47 D4E5 4D69 2510 2552 DF73 E780 A9DA AEC1
"And now for something completely different."