[asterisk-commits] rmudgett: branch 1.4 r317719 - /branches/1.4/channels/chan_sip.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Fri May 6 12:59:16 CDT 2011


Author: rmudgett
Date: Fri May  6 12:59:05 2011
New Revision: 317719

URL: http://svnview.digium.com/svn/asterisk?view=rev&rev=317719
Log:
Regression after r297603 (Improve handling of REGISTER requests with multiple contact headers.) 

Uninitialized variable.

(issue #18640)

(closes issue #18785)
Reported by: pnlarsson
Patches:
      issue18785_enegaard.patch uploaded by enegaard (license 1197)

Modified:
    branches/1.4/channels/chan_sip.c

Modified: branches/1.4/channels/chan_sip.c
URL: http://svnview.digium.com/svn/asterisk/branches/1.4/channels/chan_sip.c?view=diff&rev=317719&r1=317718&r2=317719
==============================================================================
--- branches/1.4/channels/chan_sip.c (original)
+++ branches/1.4/channels/chan_sip.c Fri May  6 12:59:05 2011
@@ -9040,7 +9040,7 @@
 	char *firstcuri = NULL;
 	int start = 0;
 	int wildcard_found = 0;
-	int single_binding_found;
+	int single_binding_found = 0;
 
 	ast_copy_string(contact, __get_header(req, "Contact", &start), sizeof(contact));
 




More information about the asterisk-commits mailing list