After the changes in
https://git.savannah.gnu.org/cgit/bash.git/commit/?h=devel&id=9e3495c9,
I sometimes get segfaults when performing a bunch of history
navigations followed by ^C.
Small reproducer from some input fuzzing and debugger output below.
cat >/tmp/hist <<'EOF'
X
XX
EOF
cat >/tmp/brc
On 2/28/23 10:51 AM, Grisha Levit wrote:
history-search-* commands segfault on the devel branch since the size_t
changes
Thanks for the report. It's odd that I never ran into this when testing the
case-insensitive search changes.
Chet
--
``The lyf so short, the craft so long to lerne.'' - Chau
history-search-* commands segfault on the devel branch since the size_t
changes
---
lib/readline/search.c | 2 +-
1 file changed, 1 insertion(+), 1 deletion(-)
diff --git a/lib/readline/search.c b/lib/readline/search.c
index b7be876f..525c9c69 100644
--- a/lib/readline/search.c
+++ b/lib/readlin