Re: Integer overflow of i in string_extract_verbatim

2023-05-08 Thread Chet Ramey
On 4/28/23 6:25 PM, Eric Li wrote: Bash Version: 5.2 Patch Level: 15 Release Status: release Description: Bash runs into segmentation fault when spawning a process with argc larger than 2GB. Can debug using GDB and observe that subst.c:1204 (string_extract_verbatim, "whi

Integer overflow of i in string_extract_verbatim

2023-04-28 Thread Eric Li
From: Eric Li To: bug-bash@gnu.org Subject: Integer overflow of i in string_extract_verbatim Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -Og uname output: Linux fedora 6.2.12-200.fc37.x86_64 #1 SMP