[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
bug#65726: 29.1.50; Crash in regexp engine
From: |
Eli Zaretskii |
Subject: |
bug#65726: 29.1.50; Crash in regexp engine |
Date: |
Mon, 04 Sep 2023 18:57:41 +0300 |
> Cc: 65726@debbugs.gnu.org
> Date: Mon, 04 Sep 2023 10:32:38 -0400
> From: Stefan Monnier via "Bug reports for GNU Emacs,
> the Swiss army knife of text editors" <bug-gnu-emacs@gnu.org>
>
> Re-reading the code I see that `skip_noops` can return a position
> smaller than its argument, which makes it possible for `p2` to
> be smaller (or equal) to `p2_orig` and hence explain that inf-loop
> (that's the only path I can see that explains the inf-loop you're
> seeing).
>
> So, the patch below should hopefully fix your problem.
Yes, with this patch the problem is gone.
Please install on the release branch, when you are satisfied with the
solution, and thanks.
- bug#65726: 29.1.50; Crash in regexp engine, (continued)
- bug#65726: 29.1.50; Crash in regexp engine, Eli Zaretskii, 2023/09/04
- bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/04
- bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/05
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/05
- bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/05
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/05
- bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/06
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/09
- bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/09
bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/04
- bug#65726: 29.1.50; Crash in regexp engine,
Eli Zaretskii <=
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/04
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Kangas, 2023/09/10
- bug#65726: 29.1.50; Crash in regexp engine, Eli Zaretskii, 2023/09/10
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Monnier, 2023/09/10
- bug#65726: 29.1.50; Crash in regexp engine, Stefan Kangas, 2023/09/11
bug#65726: 29.1.50; Crash in regexp engine, martin rudalics, 2023/09/05
bug#65726: 29.1.50; Crash in regexp engine, Mattias Engdegård, 2023/09/11