OpenSearch/libs/grok
Jake Landis f3721fa88c
[7.x] Prevent stack overflow for numerous grok patterns. (#55899) (#56065)
This was noticed for a pipeline that was defining hundreds of
grok patterns inline with a single grok processor.

The recursive call used to translate a Grok pattern to a regular
expression can overflow the stack. This commit converts that method 
to an iterative method. 

Co-authored-by: Przemko Robakowski <probakowski@users.noreply.github.com>
2020-05-05 16:52:56 -05:00
..
licenses
src [7.x] Prevent stack overflow for numerous grok patterns. (#55899) (#56065) 2020-05-05 16:52:56 -05:00
build.gradle Use task avoidance with forbidden apis (#55034) 2020-04-15 13:27:53 -07:00