Re: segfault when indirectly expanding negative numbers

2015-08-12 Thread Chet Ramey
On 8/12/15 3:52 PM, isabella parakiss wrote: > Bash segfaults when trying to do this: x=-3; echo ${!x} > Here's the backtrace from gdb: https://gist.github.com/306f16a358527b267a1e > It looks like the problem is the savestring macro when ind is negative. Thanks for the report. This will be fixed

segfault when indirectly expanding negative numbers

2015-08-12 Thread isabella parakiss
Bash segfaults when trying to do this: x=-3; echo ${!x} Here's the backtrace from gdb: https://gist.github.com/306f16a358527b267a1e It looks like the problem is the savestring macro when ind is negative. --- xoxo iza