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