[svn-commits] twilson: branch 10 r340716 - in /branches/10: ./ channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Thu Oct 13 01:56:07 CDT 2011
Author: twilson
Date: Thu Oct 13 01:56:03 2011
New Revision: 340716
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=340716
Log:
Initialize ast_sockaddr before calling ast_sockaddr_resolve
Avoid possible jump based on unitialized value
........
Merged revisions 340715 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/10/ (props changed)
branches/10/channels/chan_sip.c
Propchange: branches/10/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/10/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/10/channels/chan_sip.c?view=diff&rev=340716&r1=340715&r2=340716
==============================================================================
--- branches/10/channels/chan_sip.c (original)
+++ branches/10/channels/chan_sip.c Thu Oct 13 01:56:03 2011
@@ -15659,7 +15659,7 @@
{
char via[512];
char *c, *maddr;
- struct ast_sockaddr tmp;
+ struct ast_sockaddr tmp = { { 0, } };
uint16_t port;
ast_copy_string(via, sip_get_header(req, "Via"), sizeof(via));
More information about the svn-commits
mailing list