Initialize extension
authorMark Spencer <markster@digium.com>
Fri, 26 Sep 2003 22:31:19 +0000 (22:31 +0000)
committerMark Spencer <markster@digium.com>
Fri, 26 Sep 2003 22:31:19 +0000 (22:31 +0000)
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@1552 65c4cc65-6c06-0410-ace0-fbb531ad65f3

channels/chan_zap.c

index 2f3cfd4..d05a19e 100755 (executable)
@@ -3843,8 +3843,8 @@ static void *ss_thread(void *data)
 {
        struct ast_channel *chan = data;
        struct zt_pvt *p = chan->pvt->pvt;
 {
        struct ast_channel *chan = data;
        struct zt_pvt *p = chan->pvt->pvt;
-       char exten[AST_MAX_EXTENSION];
-       char exten2[AST_MAX_EXTENSION];
+       char exten[AST_MAX_EXTENSION]="";
+       char exten2[AST_MAX_EXTENSION]="";
        unsigned char buf[256];
        char cid[256];
        char dtmfbuf[300];
        unsigned char buf[256];
        char cid[256];
        char dtmfbuf[300];