Module: kamailio
Branch: master
Commit: 6b07f1b0d07068836093560ddbdf67b102e5c6c6
URL:
https://github.com/kamailio/kamailio/commit/6b07f1b0d07068836093560ddbdf67b…
Author: Federico Favaro <federico(a)aereo.lan.athonet.com>
Committer: Federico Favaro <federico(a)aereo.lan.athonet.com>
Date: 2015-09-18T11:52:11+02:00
cdp: Fix crash on applications memory reservation
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.
---
Modified: modules/cdp/diameter_avp.c
Modified: modules/cdp/peerstatemachine.c
---
Diff:
https://github.com/kamailio/kamailio/commit/6b07f1b0d07068836093560ddbdf67b…
Patch:
https://github.com/kamailio/kamailio/commit/6b07f1b0d07068836093560ddbdf67b…