Re: undo list free crash

2023-03-02 Thread Chet Ramey
On 2/28/23 5:17 PM, Grisha Levit wrote: 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. Thanks for the report and the reproducer. It looks like a pointer aliasin

global-buffer-overflow in parse.y

2023-03-02 Thread Grisha Levit
$ ./bash -c 'case x in x) if ((1)); then :; fi ;; esac' parse.y:974:82: runtime error: index -1 out of bounds for type 'int[257]' SUMMARY: UndefinedBehaviorSanitizer: undefined-behavior parse.y:974:82 in = ==52960==ERROR: AddressSaniti