Re: Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Stephane Chazelas
[...] > Reproduced with 4.2.53 on Debian: [...] Actually, it was already reported in early 2013 and fixed for 4.3: http://thread.gmane.org/gmane.comp.shells.bash.bugs/19384 -- Stephane

Re: Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Stephane Chazelas
2016-02-15 09:31:57 -0500, Chet Ramey: > On 2/15/16 8:57 AM, Pontus Stenström wrote: > > > Bash Version: 4.2 > > Patch Level: 24 > > Release Status: release > > > > Description: > > Comma expression in arithmetic evaluation referring to arra

Re: Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Pontus Stenström
expression in arithmetic evaluation referring to arrays make bash crash. On Mon, Feb 15, 2016 at 09:31:57AM -0500, Chet Ramey wrote: > On 2/15/16 8:57 AM, Pontus Stenström wrote: > > > Bash Version: 4.2 > > Patch Level: 24 > > Release Status: release > > > > Desc

Re: Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Greg Wooledge
On Mon, Feb 15, 2016 at 09:31:57AM -0500, Chet Ramey wrote: > On 2/15/16 8:57 AM, Pontus Stenström wrote: > > > Bash Version: 4.2 > > Patch Level: 24 > > Release Status: release > > > > Description: > > Comma expression in arithmetic evaluati

Re: Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Chet Ramey
On 2/15/16 8:57 AM, Pontus Stenström wrote: > Bash Version: 4.2 > Patch Level: 24 > Release Status: release > > Description: > Comma expression in arithmetic evaluation referring to arrays make bash > crash. > > Repeat-By: > This works fine: > ((c=3,

Comma expression in arithmetic evaluation referring to arrays make bash crash.

2016-02-15 Thread Pontus Stenström
Configuration Information [Automatically generated, do not change]:Machine: x86_64OS: linux-gnuCompiler: gcc -I/home/abuild/rpmbuild/BUILD/bash-4.2 -L/home/abuild/rpmbuild/BUILD/bash-4.2/../readline-6.2Compilation CFLAGS:  -DPROGRAM='bash' -DCONF_HOSTTYPE='x86_64' -DCONF_OSTYPE='linux-gnu' -DCONF_