Merged revisions 185952 via svnmerge from
authorKevin P. Fleming <kpfleming@digium.com>
Thu, 2 Apr 2009 13:51:44 +0000 (13:51 +0000)
committerKevin P. Fleming <kpfleming@digium.com>
Thu, 2 Apr 2009 13:51:44 +0000 (13:51 +0000)
commitd99d2f22cd3cf8cc7ad917ea28617b0efb4aa5c7
tree723e4202a44446857b947497b8fb7ad7370bc0eb
parentbe40f3a33c5a04fb97e77885cfc4844b448ebf9f
Merged revisions 185952 via svnmerge from
https://origsvn.digium.com/svn/asterisk/branches/1.4

........
  r185952 | kpfleming | 2009-04-02 08:43:43 -0500 (Thu, 02 Apr 2009) | 5 lines

  the DAHDI_GETCONF, DAHDI_SETCONF and DAHDI_GET_PARAMS ioctls were recently corrected to show that they do, in fact, read data from userspace as part of their work. due to this fix, valgrind now reports a number of cases where chan_dahdi passed an uninitialized (or partially) buffer to these ioctls, which could lead to unexpected behavior.

  this patch corrects chan_dahdi to ensure that buffers passed to these ioctls are always fully initialized.
........

git-svn-id: https://origsvn.digium.com/svn/asterisk/trunk@185953 65c4cc65-6c06-0410-ace0-fbb531ad65f3
channels/chan_dahdi.c