Re: bash encountered a coredump issue with stepping on memory

2023-12-08 Thread Chet Ramey
On 12/6/23 4:28 AM, wang yuhang wrote: > The initialize_shell_variables function is processing env. When the for loop > reaches env[16], glibc needs to use the main_arena.top variable. However, the > value in the address pointed to by the top variable is overwritten by env[15], > causing a

Re: bash encountered a coredump issue with stepping on memory

2023-12-08 Thread Chet Ramey
On 12/6/23 3:47 AM, wang yuhang wrote: The initialize_shell_variables function is processing env. When the for loop reaches env[16], glibc needs to use the main_arena.top variable. However, the value in the address pointed to by the top variable is overwritten by env[15], causing a glibc excep

Re: TAB completion bug

2023-12-08 Thread Chet Ramey
On 12/5/23 6:46 PM, Ole Tange via Bug reports for the GNU Bourne Again SHell wrote: Bash Version: 5.2 Patch Level: 21 Release Status: release Description: Tested on git (2023-12-06). For the (admitedly weirdly named) dirs below TAB completion does not work correctly. Thanks for t

Re: TAB completion bug

2023-12-08 Thread Chet Ramey
On 12/6/23 1:38 AM, Grisha Levit wrote: The problem seems to be not treating a single quote that follows a backslash as the end of a single-quoted string. Thanks for the patch; this is indeed a problem. -- ``The lyf so short, the craft so long to lerne.'' - Chaucer ``Ars longa