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

[0.37.0] Ensure _suppressEA option field is initialized to NULL #167

Conversation

hzongaro
Copy link
Member

The _suppressEA field in OMR::Options was not initialized to NULL in the OMR::Options::init method, which means it could contain garbage that will cause intermittent crashes if the field is dereferenced.

Fixes eclipse-openj9/openj9#16834

Delivers OMR pull request eclipse/omr#6926 to the v0.37.0-release branch.

@hzongaro hzongaro requested review from jdmpapin and removed request for mstoodle and 0xdaryl March 15, 2023 17:53
@hzongaro
Copy link
Member Author

Devin @jdmpapin, may I ask you to merge this change to the v0.37.0-release branch as well? Sorry for the bother!

@hzongaro hzongaro marked this pull request as draft March 15, 2023 19:04
@hzongaro
Copy link
Member Author

I just realized that this pull request contains a version of the change where the assignment to _suppressEA is one line off from the version that was merged on the main branch. I will correct that. Sorry for the churn.

The _suppressEA field in OMR::Options was not initialized to NULL in the
OMR::Options::init method, which means it could contain garbage that
will cause intermittent crashes if the field is dereferenced.
@hzongaro hzongaro force-pushed the initialize-suppressEA-option-v0.37.0 branch from dd6fd22 to ae7ff29 Compare March 15, 2023 19:10
@hzongaro hzongaro marked this pull request as ready for review March 15, 2023 19:15
@jdmpapin jdmpapin merged commit 4240236 into eclipse-openj9:v0.37.0-release Mar 15, 2023
@hzongaro hzongaro deleted the initialize-suppressEA-option-v0.37.0 branch March 15, 2023 20:11
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants