[Asterisk-code-review] resource_endpoints.c: memory leak when providing a 404 response (asterisk[master])

Jean Aunis - Prescom asteriskteam at digium.com
Mon Oct 5 10:53:02 CDT 2020


Jean Aunis - Prescom has uploaded a new patch set (#2). ( https://gerrit.asterisk.org/c/asterisk/+/15039 )

Change subject: resource_endpoints.c: memory leak when providing a 404 response
......................................................................

resource_endpoints.c: memory leak when providing a 404 response

When handling a send_message request to a non-existing endpoint, the response's
body is overriden and not properly freed.

ASTERISK-12345

Change-Id: Ie1d3d70065f80793445b60f5e4a7eb31b4b9c5c8
---
M res/ari/resource_endpoints.c
1 file changed, 1 insertion(+), 0 deletions(-)


  git pull ssh://gerrit.asterisk.org:29418/asterisk refs/changes/39/15039/2
-- 
To view, visit https://gerrit.asterisk.org/c/asterisk/+/15039
To unsubscribe, or for help writing mail filters, visit https://gerrit.asterisk.org/settings

Gerrit-Project: asterisk
Gerrit-Branch: master
Gerrit-Change-Id: Ie1d3d70065f80793445b60f5e4a7eb31b4b9c5c8
Gerrit-Change-Number: 15039
Gerrit-PatchSet: 2
Gerrit-Owner: Jean Aunis - Prescom <jean.aunis at prescom.fr>
Gerrit-CC: Friendly Automation
Gerrit-MessageType: newpatchset
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.digium.com/pipermail/asterisk-code-review/attachments/20201005/89ba4492/attachment-0001.html>


More information about the asterisk-code-review mailing list