OpenSearch/libs/grok/src
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
..
main [7.x] Prevent stack overflow for numerous grok patterns. (#55899) (#56065) 2020-05-05 16:52:56 -05:00
test/java/org/elasticsearch/grok Unmuted and fixed test. 2019-10-30 16:53:56 +01:00