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 on line 541:
          if ((flags_on & (att_exported|att_readonly)) && tempvar_p (var))

var is NULL.

RR

Reply via email to