mirror of
https://github.com/asterisk/asterisk.git
synced 2025-09-05 04:11:08 +00:00
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:
@@ -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;
|
||||
|
||||
|
Reference in New Issue
Block a user