https://origsvn.digium.com/svn/asterisk/branches/1.2
........
r34400 | file | 2006-06-16 00:37:05 -0300 (Fri, 16 Jun 2006) | 2 lines
Zero out a declared structure so as to not crash if it contains invalid data (reported by Qwell on #asterisk-dev)
........
git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@34401
65c4cc65-6c06-0410-ace0-
fbb531ad65f3
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;