Re: Out-of-bounds read in parse_comsub()

2017-10-27 Thread Chet Ramey
On 10/27/17 11:32 AM, Eduardo A. Bustamante López wrote: > On Thu, Oct 26, 2017 at 11:07:57PM +0200, Jakub Wilk wrote: > [...] >> Bash Version: 20171020 snapshot >> >> Apparently an out-of-bounds read can happen in parse_comsub() when checking >> script sytnax. To reproduce, rebuild bash with Addre

Re: Out-of-bounds read in parse_comsub()

2017-10-27 Thread Eduardo A . Bustamante López
On Thu, Oct 26, 2017 at 11:07:57PM +0200, Jakub Wilk wrote: [...] > Bash Version: 20171020 snapshot > > Apparently an out-of-bounds read can happen in parse_comsub() when checking > script sytnax. To reproduce, rebuild bash with AddressSanitizer enabled and > run: > > $ printf > '$(00\177%012d