Re: Segmentation fault in pat_subst

2019-07-23 Thread Eduardo A . Bustamante López
On Sun, Jul 21, 2019 at 06:56:09PM -0400, Chet Ramey wrote: (...) > Thanks for the report. Look at match_wpattern and consider what happens if > wmatchlen returns something longer than the string length. It will be fixed > for the next devel branch push. Aha! I see. | Starting program: /tmp/bash/

Re: Segmentation fault in pat_subst

2019-07-21 Thread Chet Ramey
On 7/20/19 6:23 PM, Eduardo A. Bustamante López wrote: > Bash `devel' crashes under the following circumstances: > > | dualbus@system76-pc:/tmp/build-bash-devel$ CFLAGS='-O0 -ggdb' > ~/src/gnu/bash/configure --with-bash-malloc > | (...) > | dualbus@system76-pc:/tmp/build-bash-devel$ make -j$(npro