[sr-dev] git:master:63334e31: evapi: use local allocated buffer to get data parameter for event relay
Daniel-Constantin Mierla
miconda at gmail.com
Thu Oct 31 09:56:39 CET 2019
Module: kamailio
Branch: master
Commit: 63334e312d60a5d6a6470b0067c29db672d08c7c
URL: https://github.com/kamailio/kamailio/commit/63334e312d60a5d6a6470b0067c29db672d08c7c
Author: Daniel-Constantin Mierla <miconda at gmail.com>
Committer: Daniel-Constantin Mierla <miconda at gmail.com>
Date: 2019-10-31T09:54:22+01:00
evapi: use local allocated buffer to get data parameter for event relay
- use system malloc given that the data can be passed from jsonrpcs,
which uses system malloc as well
- try to grow the internall buffer as needed based on estimated size of
output for the data parameter
---
Modified: src/modules/evapi/evapi_mod.c
---
Diff: https://github.com/kamailio/kamailio/commit/63334e312d60a5d6a6470b0067c29db672d08c7c.diff
Patch: https://github.com/kamailio/kamailio/commit/63334e312d60a5d6a6470b0067c29db672d08c7c.patch
More information about the sr-dev
mailing list