Fix an uninitialized memory read found by valgrind

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.4@89301 65c4cc65-6c06-0410-ace0-fbb531ad65f3
This commit is contained in:
Tilghman Lesher
2007-11-15 18:23:14 +00:00
parent f39db73930
commit 245abfa1c2

View File

@@ -1124,7 +1124,7 @@ int setup_bc(struct misdn_bchannel *bc)
/** 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;