[asterisk-commits] rmudgett: trunk r212431 - in /trunk: ./ channels/

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Mon Aug 17 10:42:56 CDT 2009


Author: rmudgett
Date: Mon Aug 17 10:42:51 2009
New Revision: 212431

URL: http://svn.asterisk.org/svn-view/asterisk?view=rev&rev=212431
Log:
Merged revisions 212430 via svnmerge from 
https://origsvn.digium.com/svn/asterisk/branches/1.4

Fix uninitialized variable causing random MWI indications.

(closes issue #15727)
Reported by: doda
Patches:
      dahdi_changes.patch uploaded by doda (license 853)

........
  r212430 | rmudgett | 2009-08-17 10:36:28 -0500 (Mon, 17 Aug 2009) | 1 line
  
  Fix uninitialized variable.
........

Modified:
    trunk/   (props changed)
    trunk/channels/chan_dahdi.c
    trunk/channels/sig_analog.c

Propchange: trunk/
------------------------------------------------------------------------------
Binary property 'branch-1.4-merged' - no diff available.

Modified: trunk/channels/chan_dahdi.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/chan_dahdi.c?view=diff&rev=212431&r1=212430&r2=212431
==============================================================================
--- trunk/channels/chan_dahdi.c (original)
+++ trunk/channels/chan_dahdi.c Mon Aug 17 10:42:51 2009
@@ -8333,7 +8333,7 @@
 	int counter;
 	int samples = 0;
 	struct ast_smdi_md_message *smdi_msg = NULL;
-	int flags;
+	int flags = 0;
 	int i;
 	int timeout;
 	int getforward = 0;

Modified: trunk/channels/sig_analog.c
URL: http://svn.asterisk.org/svn-view/asterisk/trunk/channels/sig_analog.c?view=diff&rev=212431&r1=212430&r2=212431
==============================================================================
--- trunk/channels/sig_analog.c (original)
+++ trunk/channels/sig_analog.c Mon Aug 17 10:42:51 2009
@@ -1418,7 +1418,7 @@
 	char numbuf[ANALOG_MAX_CID];
 	struct callerid_state *cs = NULL;
 	char *name = NULL, *number = NULL;
-	int flags;
+	int flags = 0;
 	int timeout;
 	int getforward = 0;
 	char *s1, *s2;




More information about the asterisk-commits mailing list