Re: Some segfaults possible via mapfile callbacks

2013-01-12 Thread Chet Ramey
-BEGIN PGP SIGNED MESSAGE- Hash: SHA1 On 1/9/13 1:49 PM, Dan Douglas wrote: > Hi. These were easy for me to reproduce in various versions. > > Export to mapfile the variable to be assigned, then run any callback: > $ printf '%s\n' {a..z} | bash -xc 'a= mapfile -tc1 -C : a' > +

Some segfaults possible via mapfile callbacks

2013-01-09 Thread Dan Douglas
Hi. These were easy for me to reproduce in various versions. Export to mapfile the variable to be assigned, then run any callback: $ printf '%s\n' {a..z} | bash -xc 'a= mapfile -tc1 -C : a' + a= + mapfile -tc1 -C : a ++ : 0 a Segmentation fault Set any vari