[asterisk-commits] tilghman: trunk r89303 - in /trunk: ./ channels/misdn/isdn_lib.c

SVN commits to the Asterisk project asterisk-commits at lists.digium.com
Thu Nov 15 12:39:47 CST 2007


Author: tilghman
Date: Thu Nov 15 12:39:46 2007
New Revision: 89303

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

........
r89301 | tilghman | 2007-11-15 12:23:14 -0600 (Thu, 15 Nov 2007) | 2 lines

Fix an uninitialized memory read found by valgrind

........

Modified:
    trunk/   (props changed)
    trunk/channels/misdn/isdn_lib.c

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

Modified: trunk/channels/misdn/isdn_lib.c
URL: http://svn.digium.com/view/asterisk/trunk/channels/misdn/isdn_lib.c?view=diff&rev=89303&r1=89302&r2=89303
==============================================================================
--- trunk/channels/misdn/isdn_lib.c (original)
+++ trunk/channels/misdn/isdn_lib.c Thu Nov 15 12:39:46 2007
@@ -1131,7 +1131,7 @@
 /** IFACE **/
 int init_bc(struct misdn_stack *stack,  struct misdn_bchannel *bc, int midev, int port, int bidx,  char *msn, int firsttime)
 {
-	unsigned char buff[1025];
+	unsigned char buff[1025] = "";
 	iframe_t *frm = (iframe_t *)buff;
 	int ret;
   




More information about the asterisk-commits mailing list