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 crash on applications memory reservation #330

Merged
merged 1 commit into from Sep 18, 2015

Conversation

fedefava86
Copy link

Fix a crash on applications shared memory allocation
when Diameter CEA contains Auth_Applications or Acct_Applications
AVPs not "embedded" into Vendor_Specific grouped AVP
Before only the memory for applications found on Vendor_Specific
AVP was reserved, but if Acct_Applications or Auth_Applications
not Vendor Specific is found, you need to reserve memory for
the number of Acct_Applications or Auth_Applications AVPs found
multiplied by the number of Supported Vendor ID AVPs found.

@ngvoice
Copy link
Member

ngvoice commented Sep 18, 2015

Hi,

can you change the commit message according to
http://www.kamailio.org/wiki/devel/git-commit-guidelines#commit_message

Thanks,
Carstne

Fix a crash on applications shared memory allocation
when Diameter CEA contains Auth_Applications or Acct_Applications
AVPs not "embedded" into Vendor_Specific grouped AVP
Before only the memory for applications found on Vendor_Specific
AVP was reserved, but if Acct_Applications or Auth_Applications
not Vendor Specific is found, you need to reserve memory for
the number of Acct_Applications or Auth_Applications AVPs found
multiplied by the number of Supported Vendor ID AVPs found.
@fedefava86
Copy link
Author

Done,

Thanks to you,

Federico Favaro

ngvoice pushed a commit that referenced this pull request Sep 18, 2015
Fix crash on applications memory reservation
@ngvoice ngvoice merged commit 0cde7b7 into kamailio:master Sep 18, 2015
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.

None yet

2 participants