Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

ObjectIdentifier swallows Null pointer excpetion in Constructor #715

Open
pki-bot opened this issue Oct 2, 2020 · 1 comment
Open

ObjectIdentifier swallows Null pointer excpetion in Constructor #715

pki-bot opened this issue Oct 2, 2020 · 1 comment
Milestone

Comments

@pki-bot
Copy link

pki-bot commented Oct 2, 2020

This issue was migrated from Pagure Issue #143. Originally filed by admiyo on 2012-04-12 18:49:40:


netscape.security.util.ObjectIdentifier

line 52
public ObjectIdentifier(String oid) {
if (oid == null)
return;

The resulting ObjectIdentifer will then throw an exception on encode as the components array has not been initialized.

If passing in a null is appropriate, the OID should probably be the equivalent of "0.0.0.0" but I suspect that Null is an error, and we should just remove this check.

@pki-bot pki-bot added this to the UNTRIAGED milestone Oct 2, 2020
@pki-bot
Copy link
Author

pki-bot commented Oct 2, 2020

Comment from admiyo at 2017-02-27 14:11:06

Metadata Update from @admiyo:

  • Issue assigned to jmagne
  • Issue set to the milestone: UNTRIAGED

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant