Re: segfault with bad array subscript

2011-09-16 Thread Roman Rakus
On 09/15/2011 08:38 PM, Chet Ramey wrote: Bash Version: 4.1 Patch Level: 5 Release Status: release Description: Accidentally found the bug. This is what I executed: /bin/bash -c 'declare -r a[]=asd' Thanks for the report. I'll take a look. Chet The crash is in builtins/declare.def o

Re: segfault with bad array subscript

2011-09-15 Thread Chet Ramey
> Bash Version: 4.1 > Patch Level: 5 > Release Status: release > > Description: > Accidentally found the bug. This is what I executed: > /bin/bash -c 'declare -r a[]=asd' Thanks for the report. I'll take a look. Chet -- ``The lyf so short, the craft so long to lerne.'' - Chaucer

segfault with bad array subscript

2011-09-15 Thread Diego Augusto Molina
FIRST MACHINE TESTED: Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: x86_64-pc-linux-gnu-gcc Compilation CFLAGS: -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_MACHTYPE='x86_64-pc-linux-gn