[asterisk-commits] kpfleming: branch 1.4 r186081 - /branches/1.4/channels/chan_dahdi.c
SVN commits to the Asterisk project
asterisk-commits at lists.digium.com
Thu Apr 2 12:21:33 CDT 2009
Author: kpfleming
Date: Thu Apr 2 12:21:29 2009
New Revision: 186081
URL: http://svn.digium.com/svn-view/asterisk?view=rev&rev=186081
Log:
ensure that the buffer passed to DAHDI_SET_BUFINFO is fully initialized
Modified:
branches/1.4/channels/chan_dahdi.c
Modified: branches/1.4/channels/chan_dahdi.c
URL: http://svn.digium.com/svn-view/asterisk/branches/1.4/channels/chan_dahdi.c?view=diff&rev=186081&r1=186080&r2=186081
==============================================================================
--- branches/1.4/channels/chan_dahdi.c (original)
+++ branches/1.4/channels/chan_dahdi.c Thu Apr 2 12:21:29 2009
@@ -9999,6 +9999,7 @@
pri->dchanavail[i] |= DCHAN_NOTINALARM;
else
pri->dchanavail[i] &= ~DCHAN_NOTINALARM;
+ memset(&bi, 0, sizeof(bi));
bi.txbufpolicy = DAHDI_POLICY_IMMEDIATE;
bi.rxbufpolicy = DAHDI_POLICY_IMMEDIATE;
bi.numbufs = 32;
More information about the asterisk-commits
mailing list