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

Exception fixing: Add handling for possible empty content for PemObject #394

Merged
merged 2 commits into from
Mar 24, 2023

Conversation

arthurscchan
Copy link
Collaborator

Summary

PemObject may contain empty content and result in NullPointerException when its content is being used as an argument for creating a public key. This PR adds a check to ensure PemObject content is not null before use.

Fixes: https://bugs.chromium.org/p/oss-fuzz/issues/detail?id=57247

Release Note

Documentation

Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
loosebazooka
loosebazooka previously approved these changes Mar 22, 2023
Signed-off-by: Arthur Chan <arthur.chan@adalogics.com>
@loosebazooka loosebazooka added the safe to test conformance testing label label Mar 22, 2023
@loosebazooka loosebazooka merged commit 13c9b96 into sigstore:main Mar 24, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
safe to test conformance testing label
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants