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

Fix reference to array that is out of scope #14644

Merged
merged 1 commit into from
Mar 3, 2022

Conversation

keithc-ca
Copy link
Contributor

The address of maxDirectMemBuff is used after the scope in which it was declare has closed. A compiler would be free to used that space for anything it thought appropriate, clobbering the contents needed for the call to getPlatformPropertyList().

The address of maxDirectMemBuff is used after the scope in which
it was declare has closed. A compiler would be free to used that
space for anything it thought appropriate, clobbering the contents
needed for the call to getPlatformPropertyList().

Signed-off-by: Keith W. Campbell <keithc@ca.ibm.com>
@pshipton
Copy link
Member

pshipton commented Mar 3, 2022

jenkins compile win jdk8

@pshipton
Copy link
Member

pshipton commented Mar 3, 2022

We'll need PRs for all the release branches as well (0.31, 0.32, 22_02).

@keithc-ca
Copy link
Contributor Author

We'll need PRs for all the release branches as well (0.31, 0.32)

See #14645 and #14646.

@pshipton pshipton merged commit cc42691 into eclipse-openj9:master Mar 3, 2022
@keithc-ca keithc-ca deleted the maxDirectMem branch March 3, 2022 22:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants