Emmanuel Lécharny created DIRAPI-487:
----------------------------------------
Summary: parseOid/parseDescr index past end of input (SIOOBE)
Key: DIRAPI-487
URL: https://issues.apache.org/jira/browse/DIRAPI-487
Project: Directory Client API
Issue Type: Bug
Affects Versions: 2.1.8
Reporter: Emmanuel Lécharny
Fix For: 2.1.9
A principal submits the *ACI* value:
{code:java}
{
identificationTag "a",
precedence 1,
authenticationLevel none,
itemOrUserFirst itemFirst:
{
protectedItems
{
classes item: // input ends after 'item:'
{code}
The syntax checker's _parseOid_ executes _charAt_ at end-of-string and throws
*SIOOBE*, escaping as an unhandled exception in the validating 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]