GitHub user robdouglas opened a pull request:

    https://github.com/apache/incubator-streams/pull/214

    STREAMS-314 | Timing out regular expressions that cause catastrophic 
backtracking

    

You can merge this pull request into a Git repository by running:

    $ git pull https://github.com/robdouglas/incubator-streams STREAMS-314

Alternatively you can review and apply these changes as the patch at:

    https://github.com/apache/incubator-streams/pull/214.patch

To close this pull request, make a commit to your master/trunk branch
with (at least) the following in the commit message:

    This closes #214
    
----
commit 0c42140ef18dbca8726e1c40282f349ed19b05a6
Author: Robert Douglas <[email protected]>
Date:   2015-04-18T19:53:50Z

    SBP-2360 | Encapsulated regex pattern matching operation into a separate 
thread. That way, in the case of catastrophic backtracking, we can interrupt 
the thread if it does not terminate in a reasonable amount of time.

commit 1080b76a739bf620759d5881443ead18ef28f548
Author: Robert Douglas <[email protected]>
Date:   2015-04-22T17:46:52Z

    SBP-2360 | Changed to using a ForkJoinPool instead of manually running 
Threads. Added test to ensure that regular expressions that cause catastrophic 
backtracking are timed out

----


---
If your project is set up for it, you can reply to this email and have your
reply appear on GitHub as well. If your project does not have this feature
enabled and wishes so, or if the feature is enabled but not working, please
contact infrastructure at [email protected] or file a JIRA ticket
with INFRA.
---

Reply via email to