]> git.ipfire.org Git - thirdparty/asterisk.git/commit
Initialize stack-allocated ast_sockaddrs before use
authorTerry Wilson <twilson@digium.com>
Thu, 26 May 2011 17:29:54 +0000 (17:29 +0000)
committerTerry Wilson <twilson@digium.com>
Thu, 26 May 2011 17:29:54 +0000 (17:29 +0000)
commit22d4d91c2c54545bcf6592620cef3483891d5ba0
tree4d981e9cd15feae26af180540ee448928eee370f
parentd62797476f47f237938608f87202310c33f545c0
Initialize stack-allocated ast_sockaddrs before use

It is important to always initialize ast_sockaddrs before use--even if they
are passed to ast_sockaddr_copy as the underlying storage could be bigger
than what ends up being copied--leaving part of the data unitialized.

git-svn-id: https://origsvn.digium.com/svn/asterisk/branches/1.8@321042 65c4cc65-6c06-0410-ace0-fbb531ad65f3
main/rtp_engine.c