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

Detect overlay conditions when calling OCKC library #219

Open
jasonkatonica opened this issue Sep 25, 2024 · 0 comments
Open

Detect overlay conditions when calling OCKC library #219

jasonkatonica opened this issue Sep 25, 2024 · 0 comments

Comments

@jasonkatonica
Copy link
Member

Many method calls made to the ockc library do not defensively protect from overlays. These OCKC apis do not take as input a length for an output buffer. In these cases many APIs do return a length of the output buffer written to. In the event, written length was > allocated buffer, code should be added to OpenJCEPlus to return an error/exception.

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