Merged revisions 34400 via svnmerge from
[asterisk/asterisk.git] / channels / chan_iax2.c
index 9a703a0..82ddfbf 100644 (file)
@@ -9514,6 +9514,7 @@ static int iax2_devicestate(void *data)
        struct iax2_peer *p;
        int res = AST_DEVICE_INVALID;
 
+       memset(&pds, 0, sizeof(pds));
        parse_dial_string(tmp, &pds);
        if (ast_strlen_zero(pds.peer))
                return res;