Emmanuel Lécharny created DIRAPI-452:
----------------------------------------

             Summary: 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
             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: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to