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

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 >

Out-of-bounds read in parse_comsub()

2017-10-27 Thread Jakub Wilk
Machine: i686 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -Og -fsanitize=address -Wno-parentheses -Wno-format-security uname output: Linux debian 4.9.0-4-686-pae #1 SMP Debian 4.9.51-1 (2017-09-28) i686 GNU/Linux Machine Type: i686-pc-linux-gnu Bash Version: 20171020 snapshot