Machine Type: i486-pc-linux-gnu
Bash Version: 3.2
Patch Level: 25
Release Status: release
Description:
Bash prints the following lines and dumps core:
malloc: ../bash/arrayfunc.c:616: assertion botched
free: start and end chunk sizes differ
last command: ${foo[\]}
Aborting...Aborted (core dumped)
Repeat-By:
Enter the following line in interactive mode:
${foo[\]}
Fix:
Obviously not a valid construct, but nevertheless shouldn't crash.
[Prev in Thread]
Current Thread
[Next in Thread]
Invalid array subscript (single backslash) causes assertion failure,
Ian Robertson<=