You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "Emmanuel Lécharny (Jira)" <ji...@apache.org> on 2026/09/29 07:25:00 UTC
[jira] [Commented] (DIRAPI-452) Unbounded mutual recursion in ACI refinement parsing (StackOverflowError)
[ https://issues.apache.org/jira/browse/DIRAPI-452?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=18120623#comment-18120623 ]
Emmanuel Lécharny commented on DIRAPI-452:
------------------------------------------
Found by Claude
> Unbounded mutual recursion in ACI refinement parsing (StackOverflowError)
> -------------------------------------------------------------------------
>
> Key: DIRAPI-452
> URL: https://issues.apache.org/jira/browse/DIRAPI-452
> Project: Directory Client API
> Issue Type: Bug
> Affects Versions: 2.1.8
> Reporter: Emmanuel Lécharny
> Priority: Major
> Fix For: 2.1.9
>
>
> An authenticated principal with permission to write an _ACI_-syntax value submits an _ACIItem_ whose classes refinement is '_not: not: not: ..._' repeated ~20k times.
> The syntax checker invokes _check()_, the parser recurses ~40k frames, and _StackOverflowError_ unwinds through the schema-validation path, aborting the operation and destabilizing the worker thread.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org