diff options
author | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-20 00:38:19 +0000 |
---|---|---|
committer | jpeeler <jpeeler@f38db490-d61c-443f-a65b-d21fe96a405b> | 2009-02-20 00:38:19 +0000 |
commit | e8e595a03de32a335eac284da42d608ea0f6ce6a (patch) | |
tree | 8e9db7db99d4460f98f642fc2f76ef80e8ab88e2 /channels | |
parent | 3d247d5c902f15bd8a72ff147eb4d3cd2c2117c3 (diff) |
Merged revisions 177624 via svnmerge from
https://origsvn.digium.com/svn/asterisk/trunk
........
r177624 | jpeeler | 2009-02-19 18:35:53 -0600 (Thu, 19 Feb 2009) | 7 lines
Set sip_request ast_str data to NULL so ast_str_copy allocates space properly
in copy_request
(issue #14478)
Reported by: erik_dedecker
........
git-svn-id: http://svn.digium.com/svn/asterisk/branches/1.6.1@177626 f38db490-d61c-443f-a65b-d21fe96a405b
Diffstat (limited to 'channels')
-rw-r--r-- | channels/chan_sip.c | 1 |
1 files changed, 1 insertions, 0 deletions
diff --git a/channels/chan_sip.c b/channels/chan_sip.c index 5b49a20cd..2c3c918d3 100644 --- a/channels/chan_sip.c +++ b/channels/chan_sip.c @@ -18554,6 +18554,7 @@ static int handle_request_refer(struct sip_pvt *p, struct sip_request *req, int /* Chan2: Call between asterisk and transferee */ int res = 0; + current.req.data = NULL; if (req->debug) ast_verbose("Call %s got a SIP call transfer from %s: (REFER)!\n", p->callid, ast_test_flag(&p->flags[0], SIP_OUTGOING) ? "callee" : "caller"); |