[svn-commits] mmichelson: branch group/CCSS r248486 - /team/group/CCSS/channels/chan_sip.c
SVN commits to the Digium repositories
svn-commits at lists.digium.com
Tue Feb 23 15:38:07 CST 2010
Author: mmichelson
Date: Tue Feb 23 15:38:03 2010
New Revision: 248486
URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=248486
Log:
Fix a possible use before initialization bug.
Modified:
team/group/CCSS/channels/chan_sip.c
Modified: team/group/CCSS/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/team/group/CCSS/channels/chan_sip.c?view=diff&rev=248486&r1=248485&r2=248486
==============================================================================
--- team/group/CCSS/channels/chan_sip.c (original)
+++ team/group/CCSS/channels/chan_sip.c Tue Feb 23 15:38:03 2010
@@ -21753,8 +21753,8 @@
const char *uri = REQ_OFFSET_TO_STR(req, rlPart2);
struct ast_cc_agent *agent = find_sip_cc_agent_by_notify_uri(uri);
struct sip_cc_agent_pvt *agent_pvt;
- struct ast_xml_doc *pidf_doc;
- const char *basic_status;
+ struct ast_xml_doc *pidf_doc = NULL;
+ const char *basic_status = NULL;
struct ast_xml_node *presence_node;
struct ast_xml_node *presence_children;
struct ast_xml_node *tuple_node;
More information about the svn-commits
mailing list