[asterisk-commits] kmoore: branch 1.8 r324678 - in /branches/1.8: ./ channels/chan_sip.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Jun 23 13:29:21 CDT 2011
Author: kmoore
Date: Thu Jun 23 13:29:17 2011
New Revision: 324678
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=324678
Log:
Merged revisions 324643 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.6.2
........
r324643 | kmoore | 2011-06-23 13:21:12 -0500 (Thu, 23 Jun 2011) | 4 lines
Addresses AST-2011-008, memory corruption and remote crash in SIP driver.
AST-2011-008
........
Modified:
branches/1.8/ (props changed)
branches/1.8/channels/chan_sip.c
Propchange: branches/1.8/
------------------------------------------------------------------------------
Binary property 'branch-1.6.2-merged' - no diff available.
Modified: branches/1.8/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.8/channels/chan_sip.c?view=diff&rev=324678&r1=324677&r2=324678
==============================================================================
--- branches/1.8/channels/chan_sip.c (original)
+++ branches/1.8/channels/chan_sip.c Thu Jun 23 13:29:17 2011
@@ -24496,7 +24496,8 @@
return -1;
}
- req.len = res;
+ /* req.data will have the correct length in case of nulls */
+ req.len = ast_str_strlen(req.data);
req.socket.fd = sipsock;
set_socket_transport(&req.socket, SIP_TRANSPORT_UDP);
req.socket.tcptls_session = NULL;
More information about the asterisk-commits
mailing list