[
https://issues.apache.org/jira/browse/LUCENE-7956?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16153556#comment-16153556
]
Uwe Schindler commented on LUCENE-7956:
---------------------------------------
LOL, Arrays.fill() is much better. But the lambda is understandable, but this
feels a bit like using a sledgehammer to crack a nut!
> ICUNormalizer2CharFilter may fail with a StackOverFlow error
> ------------------------------------------------------------
>
> Key: LUCENE-7956
> URL: https://issues.apache.org/jira/browse/LUCENE-7956
> Project: Lucene - Core
> Issue Type: Bug
> Reporter: Adrien Grand
> Priority: Minor
> Attachments: LUCENE-7956.patch
>
>
> ICUNormalizer2CharFilter recursively fills up a buffer of 128 chars until the
> last char is neither a surrogate nor inert. On large inputs of non inert
> characters, this can cause a stack overflow error.
--
This message was sent by Atlassian JIRA
(v6.4.14#64029)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]