Re: Buffer overflow bug in Bash

2013-12-20 Thread Andreas Schwab
Ben Okopnik writes: > ./borked1: line 6: n/core-default.xml: expression recursion level exceeded > (error token is "n/core-default.xml") ${foo[n/core-default.xml]} tries to expand n first, which yields n/core-default.xml, rinse and repeat. > ./borked2: line 6: on/core-default.xml: division by 0

Buffer overflow bug in Bash

2013-12-19 Thread Ben Okopnik
Hi - Here's a couple of scripts, stripped down to bare bones and tested on several recent bash versions; both cause a crash, with the following errors in all cases: ./borked1: line 6: n/core-default.xml: expression recursion level exceeded (error token is "n/core-default.xml") ./borked2: line 6: