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.

@ekosov-form3
Copy link

Hi @ibmmqmet, any idea about when this is going to be released?

@ibmmqmet
Copy link
Collaborator

ibmmqmet commented Feb 6, 2025

It'll come out with the next MQ CD release. Whose planned date I can't put here.

ibmmqmet added a commit that referenced this pull request Feb 27, 2025
- ibmmq - Add function to map PCF attribute values to strings
- ibmmq - Interpret more PCF types (the filters)
- ibmmq - MaxSCOLength fix - PR #216
- ibmmq - Add MQIGolangVersion function
- ibmmq - Handle MQ C client callbacks with wrong hObj (#217)
- mqmetric - Ignore the EXTENDED queue metrics unless explicitly enabled
- mqmetric - Deal with possible duplication of metrics between QSTATUS and published QSTAT values
  Without this change, Prometheus (at least) will panic. The system topic metrics were extended
  in MQ 9.4.2 and potentially in various fixpacks for older LTS releases; this version of the collector code is required
  once you reach those qmgr levels.
- mqmetric - Recognise Native HA Cross-region replication metrics
- ibmmqotel - Fix concurrent maps (#218)
- samples - Modify amqspcf.go to use PCF mapping functions
- samples - Ensure Dockerfile examples do not pull base images from Dockerhub
- samples - Remove unnecessary (incorrect) declarations
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.

3 participants