[ 
https://issues.apache.org/jira/browse/STREAMS-314?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=14507541#comment-14507541
 ] 

ASF GitHub Bot commented on STREAMS-314:
----------------------------------------

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

----


> Prevent catastrophic backtracking in RegexUtils Extraction
> ----------------------------------------------------------
>
>                 Key: STREAMS-314
>                 URL: https://issues.apache.org/jira/browse/STREAMS-314
>             Project: Streams
>          Issue Type: Bug
>            Reporter: Robert Douglas
>
> Prevent catastrophic backtracking in RegexUtils Extraction



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Reply via email to