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 getMaxSCOLength to take into account MQSCO_VERSION_7 #216

Merged

Conversation

louissobel
Copy link
Contributor

@louissobel louissobel commented Dec 23, 2024

Please ensure all items are complete before opening.

What

Updated getMaxSCOLength to take MQSCO_VERSION_7 into account

How

This is a bug: freeHTTPSKeyStore tries to free this data, but because the C SCO structure isn't big enough, it tries to free memory from outside the structure

Testing

I did not test this.

Issues

Links to the github issue(s) (if present) that this pull request is resolving.

@ibmmqmet ibmmqmet merged commit 0a8f82c into ibm-messaging:master Jan 6, 2025
@ibmmqmet
Copy link
Collaborator

ibmmqmet commented Jan 6, 2025

Thanks for finding this. I've added a check to the release process so this kind of error won't happen again.

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

Successfully merging this pull request may close these issues.

2 participants