Bash 5.3-devel getopts reads 1 byte past the end of a buffer when called twice

2025-07-16 Thread Nathan Mills
From: the.true.nathan.mi...@gmail.com To: bug-bash@gnu.org Subject: Getopts crashes when passing several zeroes. Configuration Information [Automatically generated, do not change]: Machine: x86_64 OS: linux-gnu Compiler: gcc Compilation CFLAGS: -g -O2 uname output: Linux nixos 6.6.87.2-microsoft-s

Re: MacOS Homebrew bash '5.3.0(1)-release' breaks 'wait' (?)

2025-07-16 Thread Chet Ramey
On 7/16/25 10:16 AM, John Sidles wrote: Please let me thank everyone for their kind attention and thoughtful remarks on this problem ... I am struggling however to summarize the discussion so far ... specifically in regard to workarounds.  To date, the sole suggested workaround is: The fi

Re: MacOS Homebrew bash '5.3.0(1)-release' breaks 'wait' (?)

2025-07-16 Thread microsuxx
while (( ++job <= joblimit )) ; do job & done while true ; do wait -n job & done On Wed, Jul 16, 2025, 4:21 PM John Sidles wrote: > Please let me thank everyone for their kind attention and thoughtful > remarks on this problem ... I am struggling however to summarize the > discussion so far ...

Re: MacOS Homebrew bash '5.3.0(1)-release' breaks 'wait' (?)

2025-07-16 Thread John Sidles
Please let me thank everyone for their kind attention and thoughtful remarks on this problem ... I am struggling however to summarize the discussion so far ... specifically in regard to workarounds. To date, the sole suggested workaround is: The fix for your case is to insert `wait' without argum

[bug #67326] Bash 5.3: Problem with new in-process command substitution ${..} on macOS

2025-07-16 Thread anonymous
URL: Summary: Bash 5.3: Problem with new in-process command substitution ${..} on macOS Group: The GNU Bourne-Again SHell Submitter: None Submitted: Wed 16 Jul 2025 02:07:39 PM UTC

[bug #67323] Fix invalid access by adjusting members of COMMAND and SIMPLE_COM

2025-07-16 Thread Florian Schmaus
URL: Summary: Fix invalid access by adjusting members of COMMAND and SIMPLE_COM Group: The GNU Bourne-Again SHell Submitter: flow Submitted: Wed 16 Jul 2025 08:53:38 AM GMT Ca