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

Add NULL check for VM args array #16842

Merged
merged 1 commit into from
Mar 8, 2023
Merged

Conversation

tajila
Copy link
Contributor

@tajila tajila commented Mar 7, 2023

With the introduction of vm->checkpointState.restoreArgsList it is possible that the args list passed into findArgInVMArgs(..) can be NULL. This PR adds a NULL check in additon to the count check as a fast path to exit

With the introduction of vm->checkpointState.restoreArgsList it is
possible that the args list passed into findArgInVMArgs(..) can be NULL.
This PR adds a NULL check in additon to the count check as a fast path
to exit

Signed-off-by: Tobi Ajila <atobia@ca.ibm.com>
@tajila
Copy link
Contributor Author

tajila commented Mar 7, 2023

jenkins test sanity xlinux jdk17

@tajila
Copy link
Contributor Author

tajila commented Mar 7, 2023

jenkins compile win jdk8

@tajila tajila added comp:vm criu Used to track CRIU snapshot related work labels Mar 7, 2023
@gacholio gacholio merged commit ec80c9b into eclipse-openj9:master Mar 8, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
comp:vm criu Used to track CRIU snapshot related work
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants