Zsh Mailing List Archive
Messages sorted by: Reverse Date, Date, Thread, Author

Re: zsh malloc/heap corruption



I can confirm your patch appears to fix the problem;  so does avoiding
it with 'setopt re_match_pcre',  though I did as you suggest and
switched to native zsh pattern matching.

Many thanks

A

On Sun, Sep 28, 2025, at 1:21 PM, Bart Schaefer wrote:
> On Sun, Sep 28, 2025 at 10:18 AM Bart Schaefer
> <schaefer@xxxxxxxxxxxxxxxx> wrote:
>>
>> The following should fix it, at the cost of possibly slowing down
>> some regular expression matches a little.
>
> Of course you could also avoid it by not using the "=~" operator.




Messages sorted by: Reverse Date, Date, Thread, Author