Crash in subscription destroy: error in mamaSubscription_getSubjectContext
There is a copy-paste error in mamaSubscription_getSubjectContext function that leads to crash on subscription destroy in case if issue symbol differs that the symbol for subscription. The problem is in this line: mama/c_cpp/src/c/subscription.c:1242 (link to GitHub: https://github.com/OpenMAMA/OpenMAMA/blob/master/mama/c_cpp/src/c/subscription.c#L1242):
entBridge->createSubscription (entBridge, &(self->mSubjectContext));
The last argument to createSubscription should be context, not &(self->mSubjectContext).
Please could you make appropriate change in the code?
This e-mail may contain confidential and/or privileged information. If you are not the intended recipient (or have received this e-mail in error) please notify the sender immediately and delete this e-mail. Any unauthorized copying, disclosure or distribution of the material in this e-mail is strictly forbidden.
Please refer to https://www.db.com/disclosures for additional EU corporate and regulatory disclosures and to http://www.db.com/unitedkingdom/content/privacy.htm for information about privacy.