You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@directory.apache.org by "coheigea (via GitHub)" <gi...@apache.org> on 2026/09/23 13:23:11 UTC

[PR] Never let an unchecked exception escape the OpenLdapSchemaParser [directory-ldap-api]

coheigea opened a new pull request, #335:
URL: https://github.com/apache/directory-ldap-api/pull/335

   A schema description with an oversized SYNTAX length or rule ID made the parser throw a NumberFormatException. That exception escaped loadSchema(), because the public parse methods only converted checked exceptions to ParseException. The parser now reports these inputs as a normal ParseException, and so does any other unexpected runtime error inside it.


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org


Re: [PR] Never let an unchecked exception escape the OpenLdapSchemaParser [directory-ldap-api]

Posted by "elecharny (via GitHub)" <gi...@apache.org>.
elecharny merged PR #335:
URL: https://github.com/apache/directory-ldap-api/pull/335


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: dev-unsubscribe@directory.apache.org
For additional commands, e-mail: dev-help@directory.apache.org