I did a stupid thing. Tried to read into an array--which is indexed--but the variable is already an associative array.

  declare -A foo
  read -a foo <<<bar

The above should error instead of Segfault, yes?

It's reproducible on all versions of bash-4 that support associative array declaration. And verified on Debian, Fedora, Gentoo...

../C


Reply via email to