Re: BASH recursion segfault, FUNCNEST doesn't help

2022-06-02 Thread Gergely
Hi Martin, >> There's a slim chance this might be exploitable. > I would really be interested in an example. I could not produce a scenario in 15 minutes that would indicate that this corrupts other sections, as there is a considerable gap between the stack and everything else. This is OS-depend

Re: bash leaks the old var when using =~ in a function with local BASH_REMATCH

2022-06-02 Thread Chet Ramey
On 5/28/22 4:08 PM, Emanuele Torre wrote: Bash Version: 5.1 Patch Level: 16 Release Status: release Description: If `[[ $str =~ $re ]]' is executed from a function in which `BASH_REMATCH' is local, bash will "leak" the old *global* `BASH_REMATCH' variable. This