[asterisk-commits] kmoore: branch 11 r384163 - in /branches/11: ./ channels/ main/
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Wed Mar 27 14:51:33 CDT 2013
Author: kmoore
Date: Wed Mar 27 14:51:29 2013
New Revision: 384163
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=384163
Log:
Address uninitialized conditional that valgrind found
........
Merged revisions 384162 from http://svn.asterisk.org/svn/asterisk/branches/1.8
Modified:
branches/11/ (props changed)
branches/11/channels/chan_sip.c
branches/11/main/format_pref.c
Propchange: branches/11/
------------------------------------------------------------------------------
Binary property 'branch-1.8-merged' - no diff available.
Modified: branches/11/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/channels/chan_sip.c?view=diff&rev=384163&r1=384162&r2=384163
==============================================================================
--- branches/11/channels/chan_sip.c (original)
+++ branches/11/channels/chan_sip.c Wed Mar 27 14:51:29 2013
@@ -25355,7 +25355,7 @@
/* Session-Timers */
if ((p->sipoptions & SIP_OPT_TIMER)) {
- enum st_refresher_param st_ref_param;
+ enum st_refresher_param st_ref_param = SESSION_TIMER_REFRESHER_PARAM_UNKNOWN;
/* The UAC has requested session-timers for this session. Negotiate
the session refresh interval and who will be the refresher */
Modified: branches/11/main/format_pref.c
URL: http://svnview.digium.com/svn/asterisk/branches/11/main/format_pref.c?view=diff&rev=384163&r1=384162&r2=384163
==============================================================================
--- branches/11/main/format_pref.c (original)
+++ branches/11/main/format_pref.c Wed Mar 27 14:51:29 2013
@@ -317,7 +317,7 @@
/*! \brief Pick a codec */
struct ast_format *ast_codec_choose(struct ast_codec_pref *pref, struct ast_format_cap *cap, int find_best, struct ast_format *result)
{
- int x, slot, found;
+ int x, slot, found = 0;
size_t f_len = 0;
const struct ast_format_list *f_list = ast_format_list_get(&f_len);
More information about the asterisk-commits
mailing list