[pcre-dev] [Bug 1023] Infinite loop in match()

Page principale
Supprimer ce message
Auteur: John Lindal
Date:  
À: pcre-dev
Sujet: [pcre-dev] [Bug 1023] Infinite loop in match()
------- You are receiving this mail because: -------
You are on the CC list for the bug.

http://bugs.exim.org/show_bug.cgi?id=1023

John Lindal <exim@???> changed:

           What    |Removed                     |Added
----------------------------------------------------------------------------
             Status|NEW                         |RESOLVED
         Resolution|                            |WONTFIX





--- Comment #5 from John Lindal <exim@???> 2010-09-24 17:21:21 ---
> The best thing, of course, if you can manage it, is to find a way of
> rewriting your regex so that it doesn't behave like this.


The problem is that I'm using PCRE as the engine for my IDE. Users will type
in all kinds of crazy. For an invalid expression, they get an error message,
but for a valid expression, the IDE must not crash. Reporting no matches is
better than blowing up, so I'll keep experimenting with the recursion limit. I
understand that the library can't do this, so I'm closing as wontfix.


--
Configure bugmail: http://bugs.exim.org/userprefs.cgi?tab=email